Describe the feature
The standard S3AsyncClient builder allows for overriding sdk configs which allows for adding custom ExecutionInterceptors. The CRT builder is lacking the capability to inject interceptors. This hinders upgrade efforts from the standard client to the CRT based client.
Use Case
We use it with the standard client mainly for injecting test failures. ExecutionInterceptor are very handy to test how our systems reacts under simulated failure conditions.
Proposed Solution
It would be ideal if overrideClientConfig is exposed so the CRT clients is one step closer to being a drop in replacement for the standard client. But I've seen other configs added a la carte as top level builder configs (e.g. the retryPolicy) so maybe ExecutionInterceptor fits there as well.
Other Information
No response
Acknowledgements
AWS Java SDK version used
2.25.40
JDK version used
java version "17.0.3.1" 2022-04-22 LTS
Operating System and version
M1 Mac
Describe the feature
The standard
S3AsyncClientbuilder allows for overriding sdk configs which allows for adding customExecutionInterceptors. The CRT builder is lacking the capability to inject interceptors. This hinders upgrade efforts from the standard client to the CRT based client.Use Case
We use it with the standard client mainly for injecting test failures.
ExecutionInterceptorare very handy to test how our systems reacts under simulated failure conditions.Proposed Solution
It would be ideal if
overrideClientConfigis exposed so the CRT clients is one step closer to being a drop in replacement for the standard client. But I've seen other configs added a la carte as top level builder configs (e.g. theretryPolicy) so maybeExecutionInterceptorfits there as well.Other Information
No response
Acknowledgements
AWS Java SDK version used
2.25.40
JDK version used
java version "17.0.3.1" 2022-04-22 LTS
Operating System and version
M1 Mac