Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 978 Bytes

README.md

File metadata and controls

30 lines (21 loc) · 978 Bytes

docker-kafka-connect-dev

This image uses the official confluent image and changes the execution mode to standalone for development purposes. You shouldn't use this in production !!!

Usage

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

Windows users only

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