Hello,

This might be a trivial question, so apologies in advance.

max.request.size has a cap on the size of each request sent to brokers from
a producer. Does this mean that having a batch.size >= max.request.size
actually doesn't have any value? In fact, shouldn't there by an
error/validation for these two configs?

https://kafka.apache.org/documentation/

What I understand is that if batch.size >= max.request.size, then the
request will fail with "RecordTooLargeException". But not sure if my
understanding is correct. Could someone kindly confirm?

Thanks,

Reply via email to