[ https://issues.apache.org/jira/browse/STORM-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xin Wang updated STORM-1858: ---------------------------- Description: According to the KafkaProducer javadoc: {quote}The producer is thread safe and sharing a single producer instance across threads will generally be faster than having multiple instances.{quote} Maybe we can change the implementation in KafkaBolt, just using a single producer instance in one worker/process. > improve KafkaBolt performance > ----------------------------- > > Key: STORM-1858 > URL: https://issues.apache.org/jira/browse/STORM-1858 > Project: Apache Storm > Issue Type: Improvement > Components: storm-kafka > Reporter: Xin Wang > Assignee: Xin Wang > > According to the KafkaProducer javadoc: > {quote}The producer is thread safe and sharing a single producer instance > across threads will generally be faster than having multiple instances.{quote} > Maybe we can change the implementation in KafkaBolt, just using a single > producer instance in one worker/process. -- This message was sent by Atlassian JIRA (v6.3.15#6346)