awslabs / kinesis-kafka-connector

kinesis-kafka-connector is connector based on Kafka Connect to publish messages to Amazon Kinesis streams or Amazon Kinesis Firehose.
Apache License 2.0
153 stars 91 forks source link

Caused by: java.lang.ClassNotFoundException: com.google.common.util.concurrent.FutureCallback #82

Open edha84564 opened 1 year ago

edha84564 commented 1 year ago

Hi,

I am using this connector on an Amazon Linux 2 instance and get the following error.

I have tried including the jar file to the classpath also tried adding to the libs directory.

Also compiled with the following dependency in the pom.xml file

com.google.guava guava 31.1-jre

Any help would be much appreciated.

kayvonwork commented 1 year ago

@edha84564 I am receiving the same error on my local machine running MacOS. Is this something you were able to resolve?

kayvonwork commented 1 year ago

I was able to get past this by doing 2 things: 1) going back to using the uber jar instead of the slim jar that took out the dependency jars AND 2) upgrading the version of the Amazon Kinesis Producer dependency to 0.15.7.