配置三个地方:
Broker: message.max.bytes and replica.fetch.max.bytes
Producer: max.request.size
Consumer: max.partition.fetch.bytes
注意: message.max.bytes必须小于等于replica.fetch.max.bytes
本文详细介绍了 Kafka 中 Broker、Producer 和 Consumer 的关键参数配置:message.max.bytes、replica.fetch.max.bytes 和 max.request.size 以及 max.partition.fetch.bytes。阐述了这些参数的作用及它们之间的相互依赖关系。
Broker: message.max.bytes and replica.fetch.max.bytes
Producer: max.request.size
Consumer: max.partition.fetch.bytes
注意: message.max.bytes必须小于等于replica.fetch.max.bytes
6621
553
4109

被折叠的 条评论
为什么被折叠?