You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Guozhang Wang (JIRA)" <ji...@apache.org> on 2013/09/17 20:00:57 UTC

[jira] [Commented] (KAFKA-1030) Addition of partitions requires bouncing all the consumers of that topic

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

Guozhang Wang commented on KAFKA-1030:
--------------------------------------

Updated reviewboard https://reviews.apache.org/r/14041/

                
> Addition of partitions requires bouncing all the consumers of that topic
> ------------------------------------------------------------------------
>
>                 Key: KAFKA-1030
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1030
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8
>            Reporter: Swapnil Ghike
>            Assignee: Guozhang Wang
>            Priority: Blocker
>             Fix For: 0.8
>
>         Attachments: KAFKA-1030-v1.patch
>
>
> Consumer may not notice new partitions because the propagation of the metadata to servers can be delayed. 
> Options:
> 1. As Jun suggested on KAFKA-956, the easiest fix would be to read the new partition data from zookeeper instead of a kafka server.
> 2. Run a fetch metadata loop in consumer, and set auto.offset.reset to smallest once the consumer has started.
> 1 sounds easier to do. If 1 causes long delays in reading all partitions at the start of every rebalance, 2 may be worth considering.
>  
> The same issue affects MirrorMaker when new topics are created, MirrorMaker may not notice all partitions of the new topics until the next rebalance.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira