You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/sdk-core/src/main/java/software/amazon/awssdk/core/async/AsyncRequestBodyFromInputStreamConfiguration.java
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,10 @@ public interface Builder extends CopyableBuilder<AsyncRequestBodyFromInputStream
137
137
/**
138
138
* Configures the {@link ExecutorService} to perform the blocking data reads.
139
139
*
140
+
* <p>It is recommended to have a dedicated executor for SDK input stream requests and have as many threads as the
141
+
* number of concurrent requests sharing it. Using an undersized or shared executor may lead to unrecoverable failures.
142
+
* See {@link AsyncRequestBody#fromInputStream(InputStream, Long, ExecutorService)} for details.
0 commit comments