kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timothy Chen <tnac...@gmail.com>
Subject Custom partitioner
Date Fri, 31 May 2013 20:42:15 GMT

I'm trying to add my own custom partitioner and saw the example in the 0.8
producer example in the wiki.

However, when I set a broker list and set the custom partitioner class name
I did in the client, I see this error:

Partitioner cannot be used when broker list is set

Does this means a custom partitioner is only available when I use Zookeeper
to connect to Kafka?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message