-
Couldn't load subscription status.
- Fork 22
Support custom health check registrations on Journal and Snapshot Builders #683
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
Support custom health check registrations on Journal and Snapshot Builders #683
Conversation
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.
Detailed my changes
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.
New methods - they don't do anything all that functionally different than the main health check registration methods on the AkkaConfigurationBuilder. This is a pure DX choice to support Akka.Persistence plugin authors.
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.
Moved the builders to their own files because I was tired of having to go looking for them
| { | ||
| internal readonly string SnapshotStoreId; | ||
| internal readonly AkkaConfigurationBuilder Builder; | ||
| internal readonly HashSet<AkkaHealthCheckRegistration> HealthCheckRegistrations = []; |
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.
Now we take a hashset of health check registrations, rather than a singular registration.
Changes
API addition that is needed to properly support #678
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):