Skip to content

Conversation

robhop
Copy link
Contributor

@robhop robhop commented Jun 27, 2025

In the special case where consumer group lag is unavailable XINFO GROUPS lag is reported as null from redis.
The Lag property on StreamGroupInfo is long?, so the type is correct.

StreamGroupInfoProcessor.ParseItem parses the value as a long and defaults to 0 not null

This is a bug-fix on that issue, it does contain some code duplication, but that is probably just my skill level.

Make some tests for this, probably not in the right place but that is how it is.

@mgravell mgravell merged commit c54c159 into StackExchange:main Jul 21, 2025
6 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants