-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Background
In some cases, we have messages being pulled off streams, augmented with additional data, and then plopped back onto another stream. If the message we initially put on the stream is too large (at or too close to the max message size) then we run the risk of breaking stream consumers ability to minimally augment our events and add them to their own streams.
Proposal
We should introduce a size limit for the events to ensure that we don't come within some reasonable threshold of the size limit of a validate message for AWS kinesis streams.
Questions
- what should the limit be? perhaps 90% of the max message size?
- how should we enforce this limit?
- reject events that are too large? probably bad dev ex since the size of the message is a function of external factors
- trim fields that are too large?
Metadata
Metadata
Assignees
Labels
No labels