/mongodb-kafka-connect

Example MongoDB + Kafka + Kafka Connect setup.

Primary LanguageShell

kafka-connect-mongodb

Slightly modified version of the official MongoDB Kafka Connector tutorial which can be found here.

Most of the containers used by the official tutorial are not usable on architectures other than amd64 so some crucial components such as Kafka Connect and Kafka itself are based on other images here:

Additionally there is a web ui for both Kafka (http://localhost:8080) and MongoDB (http://localhost:8081) available.

Usage

  1. Build images:docker-compose build
  2. Start containers: ./start.sh
  3. Create a document in kafka-connect-test.source and watch:
    1. kafka-connect-test.sink
    2. kafka-connect-test.sink-cdc