nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Braun (JIRA)" <j...@apache.org>
Subject [jira] [Created] (NIFI-448) PutKafka uses a pool for Producer, but Producer is thread-safe
Date Thu, 19 Mar 2015 18:53:38 GMT
Michael Braun created NIFI-448:
----------------------------------

             Summary: PutKafka uses a pool for Producer, but Producer is thread-safe
                 Key: NIFI-448
                 URL: https://issues.apache.org/jira/browse/NIFI-448
             Project: Apache NiFi
          Issue Type: Improvement
    Affects Versions: 0.1.0
            Reporter: Michael Braun
            Priority: Trivial


PutKafka maintains a pool of Producer objects so if multiple threads are in onTrigger, only
one object will be used for each. However, according to Kafka documentation, Producer is threadsafe
so there shouldn't be a need for this.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message