Create Strimzi Kafka Connect image with Confluent kafka-connect-s3 plugin? #6888
-
I'd like to use Kafka Connect to write data to Amazon S3, so I'd like to use the Confluent kafka-connect-s3-plugin with my Strimzi Kafka Cluster. Is there a recommended way to do this? I wrote a simple Then I found I need to get a separate jar file, What I have seems to work, but it seems like a hack, and I wanted to ask if there was simpler supported way to use the Confluent S3 plugin with Strimzi Kafka Connect? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I don't think there is a simpler way to do this. You can try to use a different connector (e.g. the Apache Camel connector for S3). But it will not be 100% the same in terms of features or configuration. I also know that some users use multistage Docker build to pull the connector with the Confluent command line tool in the first stage and then copy the connector to the next stage (see for example #3047 (comment)). But I never tried it my self. |
Beta Was this translation helpful? Give feedback.
-
@kurtostfeld how you supply aws credentials/roles into the kafka connect? i have tried few methods by adding iam credentials and annotation template:
pod:
metadata:
annotations:
eks.amazonaws.com/role: "<ROLE ARN>" aws.access.key.id:
aws.secret.access.key: but both methods are not works for me. |
Beta Was this translation helpful? Give feedback.
-
This is fairly easier, Use the Strimzi Kafka Connect build ferature. I was in a similar situation where I wanted to add the Microsoft JDBC Jar into the Confluenct JDBC Plugin folder.
|
Beta Was this translation helpful? Give feedback.
I don't think there is a simpler way to do this. You can try to use a different connector (e.g. the Apache Camel connector for S3). But it will not be 100% the same in terms of features or configuration.
I also know that some users use multistage Docker build to pull the connector with the Confluent command line tool in the first stage and then copy the connector to the next stage (see for example #3047 (comment)). But I never tried it my self.