This repository contains a sample docker compose file that can be used for testing Snowflake's Kafka connector.
It has following services:
- Zookeeper
- Kafka Broker
- Schema Registry
- Kafka Connect
- Confluent Control Center
Start the environment with the following command:
docker compose -f kafka-connect.yml up --remove-orphans
Wait until all containers are up so you can start the testing.
Open a terminal to execute the following command:
curl -X POST -H "Content-Type:application/json" -d @examples/sf-connector-example.json http://localhost:8083/connectors
Open a terminal to execute the following command:
docker exec kafka kafka-console-consumer --bootstrap-server kafka:9092 --topic source-1 --from-beginning
Login to your account using username provided in config and verify data in the table.
This project is licensed under the Apache 2.0 License.