spring-data-redis
spring-data-redis copied to clipboard
StreamMessageListenerContainer should wait for cancellation to complete on shutdown
Fix issue: #2261
Referring to pull request #2563 , modified the logic to use CountDownLatch to wait for completion on cancel without busy-spin.
If there are any improvements or suggestions, please feel free to let me know. Thank you for reviewing this pull request!
- [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).
@mp911de Would you mind sharing your thoughts on this PR when you have a chance? 🙏🏻