Is your feature request related to a problem? Please describe.
When publishing large messages quickly, we can end up with very large chunks. For example stream-perf-test -s 50000 gives me chunks of 2000-3000 messages, which means the chunks are 100-150MB in size.
Describe the solution you'd like
.
Describe alternatives you've considered
No response
Additional context
No response