I use the image in a Docker Compose file, and all is good. I can do a http://localhost:8083/connector-plugins and the connector is returned as being available. When looking in the in the Docker logs I see:
[2021-08-18 17:55:54,299] INFO Loading plugin from: /usr/share/java/kafka-sink-azure-kusto-2.0.0-jar-with-dependencies.jar (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2021-08-18 17:55:54,554] INFO Registered loader: PluginClassLoader{pluginLocation=file:/usr/share/java/kafka-sink-azure-kusto-2.0.0-jar-with-dependencies.jar} (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2021-08-18 17:55:54,554] INFO Added plugin 'com.microsoft.azure.kusto.kafka.connect.sink.KustoSinkConnector' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2021-08-18 17:55:54,555] INFO Loading plugin from: /usr/share/java/acl (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
As I said above, all good.
However, when I use the 2.1 version:
FROM confluentinc/cp-server-connect-base:6.2.0
COPY ./kafka-sink-azure-kusto-2.1.0-jar-with-dependencies.jar /usr/share/java
# with the ENV variables as above
I cannot see the connector when I do: http://localhost:8083/connector-plugins, and when I check the logs I see:
[2021-08-18 17:48:56,626] INFO Loading plugin from: /usr/share/java/kafka-sink-azure-kusto-2.1.0-jar-with-dependencies.jar (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2021-08-18 17:48:56,893] INFO Registered loader: PluginClassLoader{pluginLocation=file:/usr/share/java/kafka-sink-azure-kusto-2.1.0-jar-with-dependencies.jar} (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
# NOTICE no Added plugin
[2021-08-18 17:48:56,894] INFO Loading plugin from: /usr/share/java/acl (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
I have built a Docker Image using the KustoSinConnector 2.0:
I use the image in a Docker Compose file, and all is good. I can do a
http://localhost:8083/connector-plugins
and the connector is returned as being available. When looking in the in the Docker logs I see:As I said above, all good.
However, when I use the 2.1 version:
I cannot see the connector when I do:
http://localhost:8083/connector-plugins
, and when I check the logs I see:So the plugin loads, but is not added.
Am I doing something wrong, or?