kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herbert Koelman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-6633) Is KafkaProducer still thread safe in version 1.0.1
Date Fri, 09 Mar 2018 12:55:00 GMT

    [ https://issues.apache.org/jira/browse/KAFKA-6633?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16392845#comment-16392845
] 

Herbert Koelman commented on KAFKA-6633:
----------------------------------------

Thanks for this quick answear.

> 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
>            Priority: Minor
>
> 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)

Mime
View raw message