Are you using the 0.8 branch code? That error is for the 0.7 release.

Thanks,

Jun


On Fri, May 31, 2013 at 1:42 PM, Timothy Chen <tnac...@gmail.com> wrote:

> Hi,
>
> 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?
>
> Thanks,
>
>
>
> Tim
>

Reply via email to