Skip to content

Kafka Connect suite of connectors for Cloud storage (Amazon S3)

License

Notifications You must be signed in to change notification settings

logzio/kafka-connect-storage-cloud

 
 

Repository files navigation

Kafka Connect Connector for S3

kafka-connect-storage-cloud is the repository for Confluent's Kafka Connectors designed to be used to copy data from Kafka into Amazon S3.

Kafka Connect Sink Connector for Amazon Simple Storage Service (S3)

Documentation for this connector can be found here.

Blogpost for this connector can be found here.

Build

Kafka Connect Storage Common modules use a few dependencies which we sometimes use SNAPSHOT versions of. We do this during the development of a new release in order to build and test against new features. If you want to build a development version, you may need to build and install these dependencies to your local Maven repository in order to build the connector:

Then, to build Kafka Connect Storage Common modules and make them available to storage sink connectors, do the same on the current repo:

Packing

In order to publish a docker image for a connector using this repository, you need to pack the code into a fat jar. To do this, run the following command:

mvn clean package -Dcheckstyle.skip=true

Publish

You can publish multiple connectors with different configurations, In this guide we will take our internal-archiver connector as an example.

  1. Copy the jar from kafka-connect-s3/target/kafka-connect-s3-<version>-jar-with-dependencies.jar to replace current jar in the docker image.
  2. Create a new tag for the docker image with the new version by changing this version.
  3. Push the new tag to the docker registry by running ./build.bash.

Warning

Make sure to update the version in the build.bash file before running it, because it can override the current image.

About

Kafka Connect suite of connectors for Cloud storage (Amazon S3)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.5%
  • HTML 1.5%