Hi there,

We observed if our payload size is larger we see "Failed to send; nested 
exception is org.apache.kafka.common.errors.RecordTooLargeException" execption 
so we changed the settings from 1 MB to 5 MB for both Producer and Consumer end.

Server.properties:

message.max.bytes=5242880
replica.fetch.max.bytes=5242880

Producer.properties

max.request.size=5242880

and at application level we are passing

max.partitions_fetch_bytes=5242880

As we made 1 MB to 5 MB, will be any performance impact or any other issue?

Thanks


Reply via email to