Skip to content

Instantly share code, notes, and snippets.

@recursivecodes
Created December 20, 2019 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save recursivecodes/5622dbf4552bda8b02733a1f279924d8 to your computer and use it in GitHub Desktop.
Save recursivecodes/5622dbf4552bda8b02733a1f279924d8 to your computer and use it in GitHub Desktop.
docker-run.sh
docker run -it --rm --name connect-demo -p 8083:8083 -e GROUP_ID=1 \                                                                                                                                                                                           
    -e BOOTSTRAP_SERVERS="cell-1.streaming.us-phoenix-1.oci.oraclecloud.com:9092" \
    -e CONFIG_STORAGE_TOPIC=$CONFIG_ID-config \
    -e OFFSET_STORAGE_TOPIC=$CONFIG_ID-offset \
    -e STATUS_STORAGE_TOPIC=$CONFIG_ID-status \
    -v $(pwd -L)/connect-distributed.properties:/kafka/config.orig/connect-distributed.properties \
    -v $(pwd -L)/confluentinc-kafka-connect-s3-5.3.2/:/kafka/connect/confluentinc-kafka-connect-s3-5.3.2 \
    -v $(pwd -L)/aws_credentials:/kafka/.aws/credentials \
    debezium/connect:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment