confluentinc / librdkafka

The Apache Kafka C/C++ library
Other
254 stars 3.15k forks source link

kafka monitor #256

Closed SouthStar closed 9 years ago

SouthStar commented 9 years ago

I use KafkaOffsetMonitor to monitor the status of consumer, but the KafkaOffsetMonitor can not achieve the information of consumer, I set the "group.id" and "client.id", it dosen't work still, can you give advise to me about monitor?

edenhill commented 9 years ago

It looks like KafkaOffsetMonitor only supports zookeeper-based offsets (e.g., pre 0.8.2). librdkafka does not support zookeeper-based offsets (they are on the way out), instead it supports broker-based offsets (for broker 0.8.0) and proper support for broker based consumer group offset management (broker 0.8.2) is soon available. This work is tracked by issue #225

SouthStar commented 9 years ago

How long can librdkafka support zookeeper? Do you have a plan for zookeeper?

edenhill commented 9 years ago

Since Zookeeper-based consumer groups will be replaced by broker-based consumer groups in Kafka 0.9 I'm not sure there will ever be zookeeper-based consumer group support in librdkafka. Unless, of course, someone is willing to sponsor it.

SouthStar commented 9 years ago

ok, thank you