Hi Ron,
You are right, kafka-clients dependency was accidentally excluded in 3.0.0 starter.

Guillaume fixed this in https://github.com/apache/camel-spring-boot/commit/9e450be35ea192fd62cbae75a713b7bfb683a458#diff-c0a243e4756707820b8d462867a35c82

Dne 11.1.2020 v 9:20 Claus Ibsen napsal(a):
Hi

The camel-kafka-starter depends on camel-kafka that ought to bring in
the needed JARs.

On Fri, Jan 10, 2020 at 7:44 PM Ron Cecchini <roncecch...@comcast.net> wrote:
Does it make sense that I would need both camel-kafka-starter and camel-kafka 
in my Camel 3.0 / Spring Boot 2.2.1 app?

I thought the *-starter would be enough, but without the camel-kafka dependency 
my Kafka consumer throws a:

java.lang.NoClassDefFoundError: 
org/apache/kafka/clients/consumer/ConsumerRebalanceListener

FWIW, my component config is pretty bare bones:

from("kafka:{{kafka.topic.in}}?brokers={{kafka.brokers}}").log("got: ${body}");

Thanks.



Reply via email to