Skip to content

(Reactive) Bindings do not recover from application restart #3083

Closed
@kschlesselmann

Description

@kschlesselmann

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:

  1. Start kafka via docker compose up
  2. Start the application
  3. Watch for successfully consumed messages (It just prints 1, 2, 3, ...)
  4. Restart the application via http POST :8080/actuator/restart
  5. Now the stream functions are broken

Expected behavior
The application should restart and the bindings should be fine again.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions