kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Kreps <jay.kr...@gmail.com>
Subject Re: New Java Producer: Single Producer vs multiple Producers
Date Fri, 24 Apr 2015 15:59:06 GMT
If you are talking about within a single process, having one producer is
generally the fastest because batching dramatically reduces the number of
requests (esp using the new java producer).
-Jay

On Fri, Apr 24, 2015 at 4:54 AM, Manikumar Reddy <manikumar.reddy@gmail.com>
wrote:

> We have a 2 node cluster with 100 topics.
> should we use a single producer for all topics or  create multiple
> producers?
> What is the best choice w.r.t network load/failures, node failures,
> latency, locks?
>
> Regards,
> Manikumar
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message