Do you have some log from your application?

https://github.com/apache/camel/blob/camel-2.17.2/components/camel-kafka/src/main/java/org/apache/camel/component/kafka/KafkaConsumer.java#L114

This should work.
--
Andrea Cosentino 
----------------------------------
Apache Camel PMC Member
Apache Karaf Committer
Apache Servicemix Committer
Email: ancosen1...@yahoo.com
Twitter: @oscerd2
Github: oscerd




On Thursday, December 8, 2016 8:45 AM, ashutosh1490 <ashutosh1...@gmail.com> 
wrote:
Hi , 

I am trying to connect to KAFKA server using SSL in camel-kafka component.
I am providing multiple topics comma separated in single camel-kafka route.
If I provide only single topic then my route is working fine and it is
consuming from kafka server. If I provide multiple topics comma separated
then route starts but doesn't consumer anything from KAFKA server. 

This endpoint not consuming :

Endpoint[kafka://abcde.com:9093?consumersCount=1&groupId=group0&keyDeserializer=StringDeserializer&securityProtocol=SSL<otherSSLProperty>&topic=myTopic%2CyourTopic&valueDeserializer=com.AvroDeserializer]

This is consuming :

Endpoint[kafka://abcde.com:9093?consumersCount=1&groupId=group0&keyDeserializer=StringDeserializer&securityProtocol=SSL<otherSSLProperty>&topic=yourTopic&valueDeserializer=com.AvroDeserializer]

I am using Camel 2.17.2, Camel's spring boot component , Camel-kafka 2.17.2
and running it on java 8.

P.S. - There is nothing wrong with the topic because I have tried them one
by one. Let me know if it is an open issue or Do I need to upgrade the
version.



--
View this message in context: 
http://camel.465427.n5.nabble.com/SSL-configuration-in-camel-kafka-with-multiple-topics-not-working-tp5791206.html
Sent from the Camel Development mailing list archive at Nabble.com.

Reply via email to