Please excuse my lack of experience with Kafka, but I understood that for
redundancy purposes, a cluster would generally contain multiple brokers and
that a producer woudl try to connect to any of a list of them.

If that's true, how might I tell Camel about the availability of multiple
brokers. I only see an opportunity to put a single broker in the URI
(192.168.0.1:9092 in this case) ?

For example if myblueprint contains...

<to
uri="kafka:192.168.0.1:9092?producerType=sync&amp;zookeeperHost=192.168.0.2&amp;zookeeperPort=2181&amp;topic=test&amp;partitioner=camel.myPartitioner&amp;serializerClass=kafka.serializer.DefaultEncoder&amp;keySerializerClass=kafka.serializer.StringEncoder"
/>


Many thanks

Alan



--
View this message in context: 
http://camel.465427.n5.nabble.com/kafka-producer-multiple-brokers-tp5765174.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to