[Feature] Synchronized version of AwsCrtV4aSigner #5162
Labels
feature-request
A feature should be added or improved.
needs-review
This issue or PR needs review from the team.
Describe the feature
The feature request is for an implementation of the
AwsCrtV4aSigner
that either uses synchronized signing method or employs non-daemon threads during signing operations.aws-sdk-java-v2/core/auth-crt/src/main/java/software/amazon/awssdk/authcrt/signer/internal/AwsCrt4aSigningAdapter.java
Line 48 in 80e1821
Use Case
The current SigV4a signer is implemented asynchronously using
CompletableFuture
, which defaults to using daemon thread. However, in specific scenarios such as when Spark'sShutdownHookManager
is active, these daemon threads can be prematurely interrupted, leading to potential issues.Proposed Solution
An implementation of the
AwsCrtV4aSigner
that either uses synchronized signing method or employs non-daemon threads during signing operations.Pseudo code
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.25.23
JDK version used
openjdk version "14.0.2" 2020-07-14
Operating System and version
N/A
The text was updated successfully, but these errors were encountered: