-
Notifications
You must be signed in to change notification settings - Fork 1.6k
MLC - Add isInExpectedState() #1970
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
Comments
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Oct 4, 2021
Resolves spring-projects#1970 SCSt health check uses `isRunning()` to measure health. However a container that was `autoStartup=false` (or has been stopped) is healthy, it is just not running. - add `isInexpectedState()` - add `stopAbnormally()` - call `stopAbnormally` (from `emergencyStop`) when a listener throws an `Error` - call `stopAbnormally` from the container stopping error handler
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Oct 4, 2021
Resolves spring-projects#1970 SCSt health check uses `isRunning()` to measure health. However a container that was `autoStartup=false` (or has been stopped) is healthy, it is just not running. - add `isInexpectedState()` - add `stopAbnormally()` - call `stopAbnormally` (from `emergencyStop`) when a listener throws an `Error` - call `stopAbnormally` from the container stopping error handler
artembilan
pushed a commit
that referenced
this issue
Oct 4, 2021
Resolves #1970 SCSt health check uses `isRunning()` to measure health. However a container that was `autoStartup=false` (or has been stopped) is healthy, it is just not running. - add `isInexpectedState()` - add `stopAbnormally()` - call `stopAbnormally` (from `emergencyStop`) when a listener throws an `Error` - call `stopAbnormally` from the container stopping error handler * Fix test. Stopping one container causes a rebalance which may cause a redelivery.
garyrussell
added a commit
to garyrussell/spring-kafka
that referenced
this issue
Oct 4, 2021
Add an option to stop the container normally. There might be a case where the container is stopped due to an error, but the user wants the container to remain 'healthy', e.g. to avoid Kubernetes restarting the instance.
artembilan
pushed a commit
that referenced
this issue
Oct 4, 2021
Add an option to stop the container normally. There might be a case where the container is stopped due to an error, but the user wants the container to remain 'healthy', e.g. to avoid Kubernetes restarting the instance.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See spring-attic/spring-cloud-stream-binder-kafka#1138 (comment)
The text was updated successfully, but these errors were encountered: