linkedin / linkedin/Burrow

A question about why bin/kafka-consumer-groups.sh can print the lag but burrow can't

Open
#525 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
4k
Forks
818
Avg merge
1h 14m
Merged PRs (30d)
1

Description

There is a question that I can use bin/kafka-consumer-groups.sh --zookeeper xxx:2181 xxx:2181 xxx:2181 --describe --group group-demo to check the lag ,but using curl -s http://10.80.11.178:8000/v3/kafka/local/consumer/group-demo/lag can't print the lag,it prints "{"error":false,"message":"consumer status returned","status":{"cluster":"local","group":"group-demo","status":"NOTFOUND","complete":1,"partitions":[],"partition_count":0,"maxlag":null,"totallag":0},"request":{"url":"/v3/kafka/local/consumer/group-demo/lag","host":"newsclient-kafka-mq178v11-taiji"}}"
I want konw why and how to resolve it,thank you.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the bin/kafka-consumer-groups.sh command and the /v3/kafka/local/consumer/group-demo/lag request, then compare how each observes the consumer group. Investigate the returned NOTFOUND status and empty partitions. Done means the discrepancy's cause and resolution are documented, with the Burrow endpoint behavior verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kafka
Domain
distributed-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.