In which file I can increase the maximum message size for Kafka? (I'm sending records of String, byte[] and when I send byte[] of 770kb Kafka does not send the message)
In kafka 0.11.0 following four config options need to be set
Broker config options ( details ) :
message.max.bytes - The largest record batch size allowed by Kafka.
replica.fetch.max.bytes - The number of bytes of messages to attempt to fetch for each partition.
Producer config options ( details ) :
Consumer config options ( details ) :
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.