New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define how to package the connectors #127
Comments
+1. I think each connector should independent as much as possible |
👍 In Debezium, we create both, *.zip and *.tar.gz, so people can choose whichever they prefer. They are self-contained and can be extracted into the KC plug-in path. |
+1 for creating separate zip and tar.gz files. I think it would be great if we could package them in a way that we can just drop the connector code into the plugin path and the connector dependencies in whatever is loaded into the KC classpath. I'm thinking about making it easier - for the user - to avoid potential class path issues and that annoying DelegatingClassLoader error. |
@orpiske +1 The only issue I see now is that the dependencies are not exactly correct. We have an example here - https://github.com/debezium/debezium-examples/tree/master/camel-kafka-connect it is a demo of Debezium to CoAP server. The connector distro is build using https://github.com/debezium/debezium-examples/tree/master/camel-kafka-connect/coap-connector-dist If you look at the deps list
|
The elasticsearch stuff is part of the camel component, it cannot be excluded directly, if you exclude elasticsearch, you'll need to declare it explicitly, with the exact same version used by the component. |
ah, no, it's in all connectors. This must be fixed. |
camel-elasticsearch-rest is not there anymore. |
We should do a zip for each connector, we can take as example this https://repo1.maven.org/maven2/io/debezium/debezium-connector-postgres/1.1.0.Final/debezium-connector-postgres-1.1.0.Final-plugin.tar.gz
Lets collect ideas here.
ref: https://issues.redhat.com/browse/DBZ-1656
The text was updated successfully, but these errors were encountered: