[ 
https://issues.apache.org/jira/browse/KAFKA-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560014#comment-14560014
 ] 

Vivek Madani edited comment on KAFKA-1737 at 5/26/15 10:38 PM:
---------------------------------------------------------------

Thanks Guozhang. Did you also get a chance to look at KAFKA-1817. Most 
probably, the reason for the error mentioned in that ticket is because 
ZkStringSerializer was not set while creating ZkClient.


was (Author: vivekpm):
Thanks Guozhang Wang. Did you also get a chance to look at KAFKA-1817. Most 
probably, the reason for the error mentioned in that ticket is because 
ZkStringSerializer was not set while creating ZkClient.

> Document required ZkSerializer for ZkClient used with AdminUtils
> ----------------------------------------------------------------
>
>                 Key: KAFKA-1737
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1737
>             Project: Kafka
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 0.8.1.1
>            Reporter: Stevo Slavic
>            Assignee: Vivek Madani
>            Priority: Minor
>         Attachments: KAFKA-1737.patch, KAFKA-1737.patch
>
>
> {{ZkClient}} instances passed to {{AdminUtils}} calls must have 
> {{kafka.utils.ZKStringSerializer}} set as {{ZkSerializer}}. Otherwise 
> commands executed via {{AdminUtils}} may not be seen/recognizable to broker, 
> producer or consumer. E.g. producer (with auto topic creation turned off) 
> will not be able to send messages to a topic created via {{AdminUtils}}, it 
> will throw {{UnknownTopicOrPartitionException}}.
> Please consider at least documenting this requirement in {{AdminUtils}} 
> scaladoc.
> For more info see [related discussion on Kafka user mailing 
> list|http://mail-archives.apache.org/mod_mbox/kafka-users/201410.mbox/%3CCAAUywg-oihNiXuQRYeS%3D8Z3ymsmEHo6ghLs%3Dru4nbm%2BdHVz6TA%40mail.gmail.com%3E].



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to