snowplow-incubator / common-streams

Other
1 stars 0 forks source link

Add badrows serializer checking max size #49

Closed pondzix closed 8 months ago

pondzix commented 8 months ago

Each sink provided by common-streams library defines maximum accepted record size:

This PR implements badrow serializer, which makes sure those limits are not exceeded. If limit of bytes is reached, SizeViolation badrow is created with trimmed original payload