aws-sdk-java-v2 icon indicating copy to clipboard operation
aws-sdk-java-v2 copied to clipboard

Configurable MessageDecoder Buffer Size

Open zoewangg opened this issue 6 years ago • 3 comments

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.

https://github.com/aws/aws-sdk-java-v2/blob/a00d993ce5f930744016ea249b9136bf04032f1e/flow/src/main/java/software/amazon/eventstream/MessageDecoder.java#L18

Your Environment

  • AWS Java SDK version used: 2.0.0-preview-13-SNAPSHOT

zoewangg avatar Nov 12 '18 23:11 zoewangg