[ https://issues.apache.org/jira/browse/KAFKA-4505?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15745266#comment-15745266 ]
Romaric Parmentier commented on KAFKA-4505: ------------------------------------------- Hi Huxi, Yes the application is running while I'm checking the znode existence. I finally just found a solution: Let's say you have a topic called MyTopic and a group name called MyGroupName and you cannot retrieve the lag for your group name. For this situation, when I'm doing a "ls" in zookeeper I have: ls /consumers/MyGroupName > [offsets] The solution is to create the owners and topic nodes: create /consumers/MyGroupName/owners /MyTopic create /consumers/MyGroupName/owners/MyTopic 0 I'm not sure it's a good solution but the describe command of kafka-consumer-groups.sh is now working as before. Now, we are planning to migrate the code to use the new consumer. > Cannot get topic lag since kafka upgrade from 0.8.1.0 to 0.10.1.0 > ----------------------------------------------------------------- > > Key: KAFKA-4505 > URL: https://issues.apache.org/jira/browse/KAFKA-4505 > Project: Kafka > Issue Type: Bug > Components: consumer, metrics, offset manager > Affects Versions: 0.10.1.0 > Reporter: Romaric Parmentier > Priority: Critical > > We were using kafka 0.8.1.1 and we just migrate to version 0.10.1.0. > Since we migrate we are using the new script kafka-consumer-groups.sh to > retreive topic lags but it don't seem to work anymore. > Because the application is using the 0.8 driver we have added the following > conf to each kafka servers: > log.message.format.version=0.8.2 > inter.broker.protocol.version=0.10.0.0 > When I'm using the option --list with kafka-consumer-groups.sh I can see > every consumer groups I'm using but the --describe is not working: > /usr/share/kafka$ bin/kafka-consumer-groups.sh --zookeeper ip:2181 --describe > --group group_name > No topic available for consumer group provided > GROUP TOPIC PARTITION > CURRENT-OFFSET LOG-END-OFFSET LAG OWNER > When I'm looking into zookeeper I can see the offset increasing for this > consumer group. > Any idea ? -- This message was sent by Atlassian JIRA (v6.3.4#6332)