You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2023. It is now read-only.
[2020-07-10 21:51:05,694] INFO Initializing ProtobufData with args: [protoClassName=kafka.message.ExchangeMessage$Order, legacyName=legacy_name, useConnectSchemaMap=false] (com.blueapron.connect.protobuf.ProtobufConverter:45)
[2020-07-10 21:51:05,695] ERROR Failed to start task mongo-sink-0 (org.apache.kafka.connect.runtime.Worker:470)
org.apache.kafka.connect.errors.ConnectException: Proto class kafka.message.ExchangeMessage$Order not found in the classpath
at com.blueapron.connect.protobuf.ProtobufConverter.configure(ProtobufConverter.java:48)
at org.apache.kafka.connect.runtime.isolation.Plugins.newConverter(Plugins.java:293)
at org.apache.kafka.connect.runtime.Worker.startTask(Worker.java:442)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startTask(DistributedHerder.java:1147)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.access$1600(DistributedHerder.java:126)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1162)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1158)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
The text was updated successfully, but these errors were encountered:
hi @steephengeorge , did you get to solve the issue?
I'm observing observing the same issue.
Had tried to put the jar under /opt/kafka/plugins, and under /opt/kafka/libs in our case.
You can see in the logs for kafka connect the class being added to jvm.classpath.
We have tried as well to add the blueapron dependency, as below, on our pom.xml, but we still get the same error.
I am trying to setup a mongo-kafka-connector against Apache Kafka 2.5.
I built a jar file for this proto and placed within plugins path. But I am getting following error.
My Pom file:
Mongo-Sink config :
I am getting following error:
[2020-07-10 21:51:05,694] INFO Initializing ProtobufData with args: [protoClassName=kafka.message.ExchangeMessage$Order, legacyName=legacy_name, useConnectSchemaMap=false] (com.blueapron.connect.protobuf.ProtobufConverter:45)
[2020-07-10 21:51:05,695] ERROR Failed to start task mongo-sink-0 (org.apache.kafka.connect.runtime.Worker:470)
org.apache.kafka.connect.errors.ConnectException: Proto class kafka.message.ExchangeMessage$Order not found in the classpath
at com.blueapron.connect.protobuf.ProtobufConverter.configure(ProtobufConverter.java:48)
at org.apache.kafka.connect.runtime.isolation.Plugins.newConverter(Plugins.java:293)
at org.apache.kafka.connect.runtime.Worker.startTask(Worker.java:442)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.startTask(DistributedHerder.java:1147)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.access$1600(DistributedHerder.java:126)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1162)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$12.call(DistributedHerder.java:1158)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
The text was updated successfully, but these errors were encountered: