This image uses the official confluent image and changes the execution mode to standalone for development purposes. You shouldn't use this in production !!!
Clone this repository and modify .env
and connector.properties
according to your environment.
cp .env.example .env
cp connector.properties.example connector.properties
Place your client certificate and (if needed) jdbc-driver into the respective directories. Then start the container using the provided compose script.
docker compose up -d
If you're working on a Windows machine, you need to update the volume paths in the docker-compose.yml
as follows:
volumes:
- .\ssl:/ssl:ro
- .\jdbc-driver:/usr/share/java/kafka-connect-jdbc/jars:rw
- .\test.txt:/tmp/test.txt:ro
- .\connector.properties:/etc/kafka-connect/connector.properties:ro