You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Herbert Koelman (JIRA)" <ji...@apache.org> on 2018/03/09 10:55:00 UTC

[jira] [Created] (KAFKA-6633) Is KafkaProducer still thread safe in version 1.0.1

Herbert Koelman created KAFKA-6633:
--------------------------------------

             Summary: Is KafkaProducer still thread safe in version 1.0.1
                 Key: KAFKA-6633
                 URL: https://issues.apache.org/jira/browse/KAFKA-6633
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 1.0.1
            Reporter: Herbert Koelman


The javadoc of versionĀ [0.8|https://kafka.apache.org/082/javadoc/org/apache/kafka/clients/producer/KafkaProducer.html] states that producers are thread safe:
{quote}{{The producer is _thread safe_ and should generally be shared among all threads for best performance.}}
{quote}

Is it still the case in version 1.0.1 ? I failed to find this information in the javadoc of version 1.0.1.

Can I share one producer with many threads ?

(I posted this question as a bug, because I didn't know where else I could post questions. Sorry)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)