I am trying to produce kafka message using the terminal. I downloaded this version kafka_2.12-2.4.1.tgz
. I tried to start the Zookeeper server and then the the Kafka server. I have a json which is more than 1024 bytes. It's not allowed to send more than 1024 bytes.
I tried to refer to How can I send large messages with Kafka (over 15MB)?. But that didn't help. Not sure if I am missing any config change.
Producer Config
max.request.size=2147483647
socket.buffer.size=2147483647
Server Config
socket.request.max.bytes=2147483647
replica.fetch.max.bytes=2147483647
message.max.bytes=2147483647
max.message.bytes=2147483647
replica.fetch.max.bytes=2147483647
Consumer Config
max.request.size=2147483647
fetch.message.max.bytes=2147483647
max.partition.fetch.bytes=2147483647