You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Yonghui Zhao <zh...@gmail.com> on 2013/04/15 15:03:11 UTC

producer thread safe?

Hi,

I want to confirm is   private kafka.javaapi.producer.Producer thread safe?
i.e. I can use one producer  to send data in multi threads at the same time.

Re: producer thread safe?

Posted by Jun Rao <ju...@gmail.com>.
Yes, it is.

Thanks,

Jun


On Mon, Apr 15, 2013 at 6:03 AM, Yonghui Zhao <zh...@gmail.com> wrote:

> Hi,
>
> I want to confirm is   private kafka.javaapi.producer.Producer thread safe?
> i.e. I can use one producer  to send data in multi threads at the same
> time.
>