Skip to content

Allow using non-default thread pool for AsyncResponseTransformer.toFile #3851

Closed
@mpdn

Description

@mpdn

Describe the feature

The AsyncResponseTransformer created via toFile always uses the default thread pool in AsynchronousChannelGroup. Instead, it should be possible to give an ExecutorService as an argument to select a specific thread pool.

Use Case

I already have a thread pool dedicated to blocking IO and would like to use that one. I also generally want tight control over the threads my application is using and avoid global mutable state.

Proposed Solution

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

AWS Java SDK version used

2.20.29

JDK version used

openjdk version "11.0.9" 2020-10-20 LTS

Operating System and version

MacOS Ventura 13.2.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions