What would happen if the producer was allowed to publish beyond the max batch size? Would the broker reject it, or could it ultimately manifest as a consumer error (MessageTooBigException)?
The broker would reject if the message set is bigger than the max allowed. The consumer could also throw if the fetchMaxBytes is less than the largest message in the set.
What would happen if the producer was allowed to publish beyond the max batch size? Would the broker reject it, or could it ultimately manifest as a consumer error (MessageTooBigException)?