-
Notifications
You must be signed in to change notification settings - Fork 970
Closed
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.
Description
Describe the feature
S3AsyncClientBuilder allows to configure the executor used to complete future. This configuration is not exposed on the S3CrtAsyncClientBuilder
Use Case
In a quarkus application, futures are executed on a thread with a different TCCL and I encounter class not found exception when CDI proxy tries to create the real object from within the default sdk-async-response executor.
Proposed Solution
Expose advancedOption(SdkAdvancedAsyncClientOption.FUTURE_COMPLETION_EXECUTOR, executor) somewhere in S3CrtAsyncClientBuilder.
Other Information
I think that SCHEDULED_EXECUTOR_SERVICE should also be configured.
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS Java SDK version used
2.23.6
JDK version used
17
Operating System and version
linux
Metadata
Metadata
Assignees
Labels
feature-requestA feature should be added or improved.A feature should be added or improved.