Expected Behavior
Allow users to configure MessageDecoder initial buffer size
Current Behavior
Currently, the initial buffer size in MessageDecoder is 2MB and there's no way to configure it.
|
private static final int INITIAL_BUFFER_SIZE = 2048 * 1024; |
Your Environment
- AWS Java SDK version used: 2.0.0-preview-13-SNAPSHOT
Expected Behavior
Allow users to configure
MessageDecoderinitial buffer sizeCurrent Behavior
Currently, the initial buffer size in
MessageDecoderis 2MB and there's no way to configure it.aws-sdk-java-v2/flow/src/main/java/software/amazon/eventstream/MessageDecoder.java
Line 18 in a00d993
Your Environment