Closed
Description
Describe the issue
It seems that functions (especially producers) do not recover from application restarts. We were trying to use the auto property reload features from Spring AWS and after a context restart our functions are broken.
I've created a minimal sample to show the issue.
To Reproduce
Steps to reproduce the behavior:
- Start kafka via
docker compose up
- Start the application
- Watch for successfully consumed messages (It just prints 1, 2, 3, ...)
- Restart the application via
http POST :8080/actuator/restart
- Now the stream functions are broken
Expected behavior
The application should restart and the bindings should be fine again.