kafka-connect-jdbc icon indicating copy to clipboard operation
kafka-connect-jdbc copied to clipboard

Add jar file to artifacts

Open QuinnBast opened this issue 3 years ago • 5 comments

Having a zip/tgz of the source code files is nice, but it would be really nice if you provided a .jar file in the artifacts for direct download so that we don't have to compile the jar ourselves if we need it. This is specifically for use with strimzi, but I'm sure there are other use cases as well.

QuinnBast avatar Oct 05 '21 22:10 QuinnBast

You can use confluent-hub to install all the JARs needed for this connector. It's not a fat JAR, so it's not possible to download just one file

OneCricketeer avatar Oct 08 '21 06:10 OneCricketeer

I mean this jar:

https://packages.confluent.io/maven/io/confluent/kafka-connect-jdbc/$KAFKA_JDBC_VERSION/kafka-connect-jdbc-$KAFKA_JDBC_VERSION.jar

Where $KAFKA_JDBC_VERSION is the version you want to download.

I had to find some super obscure Dockerfile from some stack overflow question with only 1 view which wasn't even related to my use case. It took me probably 1-2 hours to find this but using that URL format to download the jar I was able to get strimzi kafka connect working with jdbc. However, it would be nice if this jar, or even the URL, was available in a more visible location to others.

QuinnBast avatar Oct 19 '21 17:10 QuinnBast

That JAR comes when you use confluent-hub command

OneCricketeer avatar Oct 19 '21 17:10 OneCricketeer

I don't have confluent hub installed and I'm sure others might not either. Feel free to close if you'd like but I just figure it would be nice to get this jar file or the URL to it added somewhere more visible.

QuinnBast avatar Oct 19 '21 18:10 QuinnBast

don't have confluent hub installed

You can download the Confluent hub command, though.

would be nice to get this jar file or the URL to it added somewhere more visible.

Not sure what you mean "visible".

The maven repo is browsable, and is listed in several visible locations

https://packages.confluent.io/maven/io/confluent/kafka-connect-jdbc/

OneCricketeer avatar Oct 19 '21 20:10 OneCricketeer