Can you clarify what you mean by "process time"? Is this the time it takes
to have a message sent from the producer appear in a consumer?

You may be seeing the result of batching. The producer batches messages so
if you are testing sending a single message at a time you will get
different performance characteristics than if you are sending many.

On Fri, Jan 13, 2017 at 2:36 AM, Patricia Callejo <> wrote:

> Hi,
> we are developing a kafka environment in order to be able to process up
> hundreds of messages per second. The point is that if we send in different
> partitions a lot of messages, the time of the process is very good in ms,
> however if we send just a single message, the minimum time required is very
> high, at least 1 or 2 seconds, even more.
> Is there any configuration we are missing to avoid this minimum delay? or
> is the minimum time required by kafka for the whole process?
> Best Regards,
> Patricia

Robert Quinlivan
Software Engineer, Signal

Reply via email to