franz-kafka icon indicating copy to clipboard operation
franz-kafka copied to clipboard

Consumer isn't working in 0.7.5

Open No9 opened this issue 12 years ago • 3 comments

As per this comment https://github.com/dannycoates/franz-kafka/pull/4#issuecomment-19424224

I am using kafka 0.7.2 and I seeing a similar issue. i.e. no errors reported but no data being received.

No9 avatar Jun 24 '13 11:06 No9

I'm not actively using Kafka right now, so I haven't been maintaining very well. I'll try to look at this soon.

dannycoates avatar Jun 26 '13 03:06 dannycoates

I too face this issue.

tvpavan avatar Jul 17 '13 15:07 tvpavan

there is one bug in zk.js line 406 which caused this issue, it uses wrong counter,

pasted code below, var topicName = topicNames[j] will fix the issue

for (var i = 0; i < consumerIds.length; i++) { var consumerId = consumerIds[i] var consumer = consumerTopicCounts[consumerId] consumerTopicPartitions[consumerId] = {}

        for (var j = 0; j < topicNames.length; j++) {
            var topicName = topicNames[i]

stevenluan avatar Jul 18 '13 07:07 stevenluan