elasticsearch connector doesn't work - java.lang.NoClassDefFoundError: com/google/common/collect/ImmutableSet
I'm using kafka_2. 12-2.5.0
and I had the same problem. I've noticed that guava jar is missing in $KAFKA_HOME/libs with respect to Kafka 2. 4.0
. As a workaround, I copied the jar manually (guava-20.0. jar
) from the previous Kafka distribution and everything worked.