Skip to content

A sample docker compose file that can be used to test Snowflake's Kafka connector.

License

Notifications You must be signed in to change notification settings

sfc-gh-japatel/snowflake-kafka-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snowflake Sink Connector Docker

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

Install Docker and Docker Compose

Install Link

1 - Starting the environment

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.

2 - Install the connector

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

4 - Check the data in Kafka

Open a terminal to execute the following command:

docker exec kafka kafka-console-consumer --bootstrap-server kafka:9092 --topic source-1 --from-beginning

5 - Check Data in Snowflake Account

Login to your account using username provided in config and verify data in the table.

License

This project is licensed under the Apache 2.0 License.

About

A sample docker compose file that can be used to test Snowflake's Kafka connector.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published