Skip to content

Confluent Platform docker image with community components featuring source and sink connectors for MongoDB and Snowflake.

Notifications You must be signed in to change notification settings

marcin2x4/confluent_kafka_docker_image

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

confluent_kafka_docker_image

Confluent Platform docker image with community components featuring source and sink connectors for MongoDB and Snowflake.

Docker Hub: https://hub.docker.com/repository/docker/marcin2x4/confluent_mongo_snowflake

To interact and test this solution:

  1. Run docker-compose up -d once in the file directory
  2. Double check docker-compose ps
  3. Log in to the Connect (localhost:9021) and navigate to Cluster -> Connect -> connect-default and establish connections to MongoDB (https://www.youtube.com/watch?v=_6NuTTQdDn4) and Snowflake (https://docs.confluent.io/cloud/current/connectors/cc-snowflake-sink.html). You can also save both into json files and upload to save time.
  4. Log in to broker using docker-compose exec broker bash
  5. To monitor created topic execute kafka-console-consumer --topic <TOPIC_NAME> --bootstrap-server broker:9092 and start inserting data to MongoDB's collection. If properly set, log shloud be seen in your terminal. Data should also get inserted into Snowflake
  6. To release resources run: docker container stop $(docker container ls -a -q -f "label=io.confluent.docker") docker system prune -a -f --volumes

About

Confluent Platform docker image with community components featuring source and sink connectors for MongoDB and Snowflake.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published