You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Tao Feng <fe...@gmail.com> on 2015/07/29 06:13:51 UTC

Kafka new producer thread safe question

Hi Kafka experts,

I am trying to understand how Kafka new producer works. From the Kafka new
producer code/comment, it indicates the producer is thread safe which we
could have multiple clients per KafkaProducer. Is RecordAccumulator the
only place to take care thread synchronization for KafkaProducer?

Thanks,
-Tao