tbumke / docker-kafka-connect-dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Shell 96.9%Language:Dockerfile 3.1%