Shared S3Client doesn't shutdown gracefully #5061
Labels
bug
This issue is a bug.
closed-for-staleness
p2
This is a standard priority issue
response-requested
Waiting on additional info and feedback. Will move to "closing-soon" in 10 days.
Describe the bug
Using the S3Client in a multithreaded spring boot app when the context gets shutdown the S3Client doesn't shutdown gracefully.
Expected Behavior
The S3Client finish sending all the pending request.
Current Behavior
An exception is thrown:
Reproduction Steps
Execute this code in a Spring Boot Basic App
Possible Solution
No response
Additional Information/Context
Spring Boot Used 2.4.5
AWS Java SDK version used
2.22.0
JDK version used
openjdk version "17.0.10" 2024-01-16
Operating System and version
5.15.146.1-microsoft-standard-WSL2 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: