[SERVER-83745] Streams: expose "live Kafka offsets" information Created: 30/Nov/23  Updated: 13/Jan/24  Resolved: 13/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Matthew Normyle Assignee: Aadesh Patel (Inactive)
Resolution: Done Votes: 0
Labels: init-337-ga
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Assigned Teams:
Atlas Streams
Backwards Compatibility: Fully Compatible
Sprint: Sprint 37, Sprint 38
Participants:

 Description   

Chatted with joe.niemiec@mongodb.com https://mongodb.slack.com/archives/C04AH2TF7E1/p1701895941653429 – will be exposing this information in `getStats` on the root level object, along with `consumerGroupId`



 Comments   
Comment by Aadesh Patel (Inactive) [ 08/Dec/23 ]

joe.niemiec@mongodb.com since we're going to start exposing partition offsets in `getStats()`, should we expose partition active/idle state here as well? thinking it'll look like:

```
{
  "partitions": [
    { "partition": 0, "liveOffset": 10, "committedOffset": 5, "status": "ACTIVE" },
    { "partition": 1, "liveOffset": 13, "committedOffset": 8, "status": "ACTIVE" },
    { "partition": 2, "liveOffset": 8, "committedOffset": 8, "status": "IDLE" },
    ...
  ],
  ...
}
```

Comment by Aadesh Patel (Inactive) [ 06/Dec/23 ]

thank you!

Generated at Thu Feb 08 06:53:01 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.