-
Notifications
You must be signed in to change notification settings - Fork 139
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
fixes #71: Feature: Health check and metrics #464
Conversation
aec7f8a
to
fa41172
Compare
fa41172
to
38ed9ad
Compare
Nice 👍 Metrics will definitively be useful. Didn't quite get how a health-check should be implemented? Or would it be possible to expose Just a question regarding the class-hierarchy:
Perhaps this data should be moved up in the hierarchy? If it's under ParallelConsumer interface for example we can use the same api regardless of implementation. Also, current "requirements" for health-check is pretty simple and used for rolling updates and error-handling:
|
Are you familiar with micrometer? We're probably just going to use that. |
Yes, we use micrometer for both streams and consumer/producer:
|
Superseded by: |
@@ -629,5 +631,30 @@ boolean checkIfWorkIsStale(final WorkContainer<?, ?> workContainer) { | |||
return false; | |||
} | |||
|
|||
} | |||
public PCMetrics.PCPartitionMetrics getMetrics() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we invert this? Move the construction into the metrics class, instead of the state class? (pass the metrics class the state)
Closing - Stale / superseded by #485 |
fixes:
related:
Checklist
blocked by: