awslabs / awslabs/aws-eventstream-java

MessageDecoder's initial buffer size should be configurable

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.