spring-data-redis icon indicating copy to clipboard operation
spring-data-redis copied to clipboard

`StreamMessageListenerContainer` should wait until listeners finish processing within timeout during shutdown

Open aooohan opened this issue 2 years ago • 0 comments

Fix issue: #2261

Set a new option shutdownTimeout for container option. The container will wait listener with shutdownTimeout time to finish processing.

If any improvement can do, feel free to tell me.

  • [x] You have read the Spring Data contribution guidelines.
  • [X] You use the code formatters provided here and have them applied to your changes. Don’t submit any formatting related changes.
  • [X] You submit test cases (unit or integration tests) that back your changes.
  • [X] You added yourself as author in the headers of the classes you touched. Amend the date range in the Apache license header if needed. For new types, add the license header (copy from another file and set the current year only).

aooohan avatar Apr 20 '23 08:04 aooohan