kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. Manna" <manme...@gmail.com>
Subject Question on max.request.size and batch.size
Date Sat, 17 Aug 2019 17:44:00 GMT
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,

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message