Hello Everyone,
I have MSK cluster which I use in my application.
I am getting error as
Caused by: org.apache.kafka.common.errors.RecordTooLargeException: The message is 2736470 bytes when serialized which is larger than the maximum request size you have configured with the max.request.size configuration.
I am trying to set max.request.size in MSK, but it says that max.request.size is not supported.
Where do I need to set max.request.size?
- In cluster config
- In application in kafka producer
Do we have different config for Kafka and MSK?
Please help