Github user harshach commented on the issue:
https://github.com/apache/storm/pull/2071
@vesense also if we make this static all the internal producer state
becomes shared and this could result in unexpected behavior as per user. Since
producer doesn't call flush to broker until the batch.size is met , in a shared
state this could mean multiple instances of bolt can quickly fill up the
batch.size vs previously where each has their own state. Again we can run into
some other unknows as well.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---