Kafka broker and producer max message default config

2015-05-12 Thread Rendy Bambang Junior
Hi, I see configuration for broker max.message.bytes 1,000,000 and configuration for producer max.request.size 1,048,576 Why is default config for broker is less than producer? If that is the case then there will be message sent by producer which is bigger than what broker could receive. Could

Re: Kafka broker and producer max message default config

2015-05-12 Thread Ewen Cheslack-Postava
The max.request.size effectively caps the largest size message the producer will send, but the actual purpose is, as the name implies, to limit the size of a request, which could potentially include many messages. This keeps the producer from sending very large requests to the broker. The

Re: Kafka broker and producer max message default config

2015-05-12 Thread Rendy Bambang Junior
Thanks, I get the difference now. This is assuming request to be sent contains at least 1 messages. Isn't it? Rendy On May 13, 2015 3:55 AM, Ewen Cheslack-Postava e...@confluent.io wrote: The max.request.size effectively caps the largest size message the producer will send, but the actual