-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get ConsumerGroups
information from ConsumerGroupRegister
and update tracked Lag
when assigned consumer stops consuming
#131
base: main
Are you sure you want to change the base?
Commits on Feb 19, 2024
-
Report the actual error if failing to create a new Prometheus Metric
Before the error was being swallowed.
Configuration menu - View commit details
-
Copy full SHA for 5782aa4 - Browse repository at this point
Copy the full SHA 5782aa4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 413c373 - Browse repository at this point
Copy the full SHA 413c373View commit details -
This is able to provide the groups and the members of each group. Additionally, it holds the groups in memory after they shutdown/disappear, for a configurable `forget_after` `Duration`.
Configuration menu - View commit details
-
Copy full SHA for fb54e8a - Browse repository at this point
Copy the full SHA fb54e8aView commit details -
Add
--forget-group-after
command line argument, to control `Consume……rGroupsRegister` `forget_after` input
Configuration menu - View commit details
-
Copy full SHA for 0182a73 - Browse repository at this point
Copy the full SHA 0182a73View commit details -
Replace
ConsumerGroups
Receiver
to feed intoLagRegister
, with ……`ConsumerGroupsRegister`
Configuration menu - View commit details
-
Copy full SHA for 317e204 - Browse repository at this point
Copy the full SHA 317e204View commit details -
Make
LagRegister
forget groups that become unknownMeaning, not known to the `ConsumerGroupsRegister` anymore
Configuration menu - View commit details
-
Copy full SHA for 6f6f7c3 - Browse repository at this point
Copy the full SHA 6f6f7c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 53bb0fe - Browse repository at this point
Copy the full SHA 53bb0feView commit details -
Squash the
chrono
requirement into the implementation details of `C……onsumerGroupsRegister`
Configuration menu - View commit details
-
Copy full SHA for cd92bad - Browse repository at this point
Copy the full SHA cd92badView commit details -
Ensure
ConsumerGroupsRegister
correctly "forgets" groups not seen f……or the specified amount of time
Configuration menu - View commit details
-
Copy full SHA for 7d4c8ae - Browse repository at this point
Copy the full SHA 7d4c8aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c589e1 - Browse repository at this point
Copy the full SHA 8c589e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e9e126 - Browse repository at this point
Copy the full SHA 0e9e126View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5fa7c82 - Browse repository at this point
Copy the full SHA 5fa7c82View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 632193e - Browse repository at this point
Copy the full SHA 632193eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8827fef - Browse repository at this point
Copy the full SHA 8827fefView commit details -
Ignore
GroupMetadata
events if the Group is empty (has no members).This means that the group is gone, so we don't want to remove it from the register just yet.
Configuration menu - View commit details
-
Copy full SHA for d22848a - Browse repository at this point
Copy the full SHA d22848aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d17a43c - Browse repository at this point
Copy the full SHA d17a43cView commit details -
Every second
LagRegister
will reconcile, doing 2 things1. Check if `ConsumerGroupRegister` has changed (using the hash) and, if it did, updating it's internal tracked group lags 2. Check if any known `Lag` is stale, and if it is updating the lag estimation considering the latest tracked produced offsets
Configuration menu - View commit details
-
Copy full SHA for ac35518 - Browse repository at this point
Copy the full SHA ac35518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 68f9590 - Browse repository at this point
Copy the full SHA 68f9590View commit details