[ 
https://issues.apache.org/jira/browse/KAFKA-879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Fung updated KAFKA-879:
----------------------------

    Attachment: kafka-879-v1.patch

Uploaded kafka-879-v1.patch
                
> In system test, read the new leader from zookeeper instead of broker log on 
> completion of become-leader state transition
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: KAFKA-879
>                 URL: https://issues.apache.org/jira/browse/KAFKA-879
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Swapnil Ghike
>            Assignee: John Fung
>              Labels: bugs
>         Attachments: kafka-879-v1.patch
>
>
> Currently the system test reads the new leader from a broker log statement on 
> completion of become-leader state transition. The log statements can change 
> with time and can also move around.
> We can read the leader info from zookeeper given a topic, partition. The path 
> is #2 at 
> https://cwiki.apache.org/confluence/display/KAFKA/Kafka+data+structures+in+Zookeeper.
>  The Zookeeper data structures are unlikely to change in foreseeable future.

--
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

Reply via email to