[ https://issues.apache.org/jira/browse/KAFKA-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729374#comment-14729374 ]
Jason Gustafson commented on KAFKA-2506: ---------------------------------------- [~singhashish] I realized that the partitionsFor implementation also broke my patch, so I made a quick fix for it there. If you wanted to have this change before KAFKA-1893 is committed, then maybe we just do it here since it's small and I'm hoping to have KAFKA-1893 before my patch is committed. Otherwise, we can wait as Ewen suggests. > Refactor KafkaConsumer.partitionsFor(topic) to get metadata of topic without > modifying state of Metadata > -------------------------------------------------------------------------------------------------------- > > Key: KAFKA-2506 > URL: https://issues.apache.org/jira/browse/KAFKA-2506 > Project: Kafka > Issue Type: Improvement > Reporter: Ashish K Singh > Assignee: Ashish K Singh > > While working on KAFKA-1893, we realized that it will be good to refactor > KafkaConsumer.partitionsFor(topic) to get metadata of topic without modifying > state of Metadata. It can follow an approach similar to listTopics(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)