Navigation

    Install MongoDB Kafka Connector

    The MongoDB Kafka Connector build is available for both Confluent Kafka and Apache Kafka deployments.

    Use the Confluent Kafka installation instructions for a Confluent Kafka deployment or the Apache Kafka installation instructions for an Apache Kafka deployment.

    1. Install the Confluent Hub Client if necessary.
    2. Install the MongoDB Connector for Apache Kafka component using the Confluent Hub Client.
    1. Follow the directions on the Confluent page for Manually Installing Community Connectors.
    2. Use the GitHub URL and uber JAR locations in the installation reference table when prompted in the Confluent manual installation instructions.
    1. Locate and download the uber JAR which is suffixed with all to obtain all the dependencies required for the connector. Refer to the installation reference table for the uber JAR location.
    2. Copy the uber JAR into the Kafka plugins directory: /usr/local/share/kafka/plugins/
    Info With Circle IconCreated with Sketch.Note

    If you are running distributed worker processes, you must repeat this process for each server or VM.

    Connector GitHub repositorymongodb/mongo-kafka
    Uber JAR (Maven Central)mongo-kafka-connect
    Uber JAR (Sonatype OSS)mongodb-kafka
    Give Feedback