linkedin / linkedin/Burrow

Can I get lag for all or several consumers rather than one consumer at a time?

Open
#729 0 comments 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

When I have dozens of consumer groups that I want to check for lag, I have to make dozens of calls to `consumer/CONSUMER-GROUP-NAME/lag`. Do you know of any way to get Burrow to give me lag from many consumer groups, rather than one at a time?

Assuming not, would you consider making a GET `consumer/lag` API call that will return the lag for all consumer groups? Alternatively, I could explicitly specify the consumers I want in a POST (perhaps sending in an array of strings in the body), which would be a little more complicated but reasonable.

I'd love to get it all in one call and then output parts of it to get the whole picture of all lag.

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 tracing the existing consumer/CONSUMER-GROUP-NAME/lag API entry point and how it selects a consumer group. Determine how a request for multiple or all groups should be represented and returned, then verify that one call provides lag for the requested groups without changing the existing endpoint behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.