awslabs / awslabs/aws-eventstream-java
MessageDecoder's initial buffer size should be configurable
Open
- Dominant language
- Java
- Stars
- 5
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
MessageDecoder is hard-coded to create a 2 MB buffer for each instance, growing it as necessary. 2 MB is pretty heavy for a request-scoped object, and I've noticed that most of it often goes unused. Can this be configurable with a constructor argument or a system property?
Contributor guide
Assessment
This issue has not been assessed yet.