Last active
May 4, 2021 13:28
-
-
Save ngollperrier/68c20a9c156e737df8f77022167a50e6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM confluentinc/cp-kafka-connect:5.5.1 | |
# Remove bundled (older) version of kafka-connect plugins for S3/GCS | |
RUN rm -rf /usr/share/java/kafka-connect-s3/ /usr/share/java/kafka-connect-gcs/ /usr/share/confluent-hub-components/confluentinc-kafka-connect-gcs/ | |
# Install the official kafka-connect-s3 plugin in v5.5.1 | |
RUN (echo 1 && yes) | confluent-hub install confluentinc/kafka-connect-s3:5.5.1 | |
# Install the latest kafka-connect Single Message Transforms plugin | |
RUN (echo 1 && yes) | confluent-hub install confluentinc/connect-transforms:latest | |
# Install our custom classes in the connect classpath | |
COPY build/libs/partitioner-latest-all.jar /usr/share/confluent-hub-components/confluentinc-kafka-connect-s3/lib/partitioner-latest-all.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment