I get Message size too large
exception, when I try to send a message which is over 1 Mb size. The error appears in my client application, when I try to produce a message. After a little googling I found out that the settings should be changed in order to increase max message size. Well, I did that in /kafka/config/server.properties
file. I added next 2 settings:
message.max.bytes=15728640
replica.fetch.max.bytes=15728640
Also, I added fetch.message.max.bytes=15728640
to the /kafka/config/consumer.properties
file. All other settings remain default.
I did kafka server restart, but I'm still getting the same error.
P.S Kafka version is 1.1.0.