Hi

I am not sure if the current camel-kafka supports this. You are
welcome to dive into the source code.
And if its not then welcome to log a JIRA and work on a patch.
Also the docs could use some love.

You can read here about how to help
http://camel.apache.org/contributing.html

On Wed, Apr 1, 2015 at 9:13 PM, Alan Robson <alan.rob...@viasat.com> wrote:
> 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.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to