sintezcs commented on issue #1114: URL: https://github.com/apache/camel-kafka-connector/issues/1114#issuecomment-847956921
Any updates on this issue? Camel-salesforce-kafka-connector **is completely broken**. I use it with the official Confluent Platform Kafka Connect Docker image (https://hub.docker.com/r/confluentinc/cp-kafka-connect-base). The connector doesn't work at all, without downloading the jetty-http jar. I can confirm that it is reproducible for all versions starting from 0.7.0 (I tried 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.9.0). Without downloading the jar, the connector starts but doesn't process any messages and there are no errors in the output. Enabling the DEBUG logging for `org.eclipse.jetty.client` package uncovers the errors that are happening silently: ``` java.lang.LinkageError: loader constraint violation: when resolving method 'void org.eclipse.jetty.http.GZIPContentDecoder.<init>(org.eclipse.jetty.io.ByteBufferPool, int)' the class loader org.apache.kafka.connect.runtime.isolation.PluginClassLoader @1dd6d4b7 of the current class, org/eclipse/jetty/client/GZIPContentDecoder, and the class loader 'app' for the method's defining class, org/eclipse/jetty/http/GZIPContentDecoder, have different Class objects for the type org/eclipse/jetty/io/ByteBufferPool used in the signature (org.eclipse.jetty.client.GZIPContentDecoder is in unnamed module of loader org.apache.kafka.connect.runtime.isolation.PluginClassLoader @1dd6d4b7, parent loader org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader @62e7f11d; org.eclipse.jetty.http.GZIPContentDecoder is in unnamed module of loader 'app') kafka-connect-salesforce-source_1 | at org.eclipse.jetty.client.GZIPContentDecoder.<init>(GZIPContentDecoder.java:44) kafka-connect-salesforce-source_1 | at org.eclipse.jetty.client.GZIPContentDecoder$Factory.newContentDecoder(GZIPContentDecoder.java:87) kafka-connect-salesforce-source_1 | at org.eclipse.jetty.client.HttpReceiver.responseHeaders(HttpReceiver.java:311) kafka-connect-salesforce-source_1 | at org.eclipse.jetty.client.http.HttpReceiverOverHTTP.headerComplete(HttpReceiverOverHTTP.java:310) kafka-connect-salesforce-source_1 | at org.eclipse.jetty.http.HttpParser.parseFields(HttpParser.java:1213) kafka-connect-salesforce-source_1 | at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:1503) kafka-connect-salesforce-source_1 | ... 20 more ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org