-
Notifications
You must be signed in to change notification settings - Fork 28
CIRC-2003: Fail on startup if Kafka config is invalid #1635
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
base: master
Are you sure you want to change the base?
Conversation
|
Could this be considered a breaking change? I'm thinking maybe there needs to be more before we get this out there. |
|
Before this PR the server responded with 200 OK on the /admin/health endpoint. The failing Kafka connection was in the log but not reported on the /admin/health endpoint. With this PR the /admin/health endpoint does not respond because the HTTP server starts listening only after a connection to Kafka has been made: |
What more is needed to merge this to master for Trillium? |
I'm not sure if our processes handles it, but having this information in the release notes would be good. Otherwise, just an update to NEWS.md will be fine. |
|
|
@okolawole-ebsco: What more is needed to get this merged to master for Trillium? |
|





https://folio-org.atlassian.net/browse/CIRC-2003
Purpose
Fail on startup if Kafka config is invalid.
Otherwise changes to the circulation rules will not be used on check-in and check-out.
Approach
When Kafka listener throws an exception, no longer swallow it but pass it back.