Github user dossett commented on the pull request:
https://github.com/apache/storm/pull/772#issuecomment-144727444
I applied some of this same batching and tick tuple logic to
SequenceFileBolt in STORM-1073. I was able to abstract much of that code to
the AbstractHdfsBolt so that HdfsBolt and SequenceFileBolt don't repeat much
code.
I wonder if there's an even higher level of abstraction that could apply
to? All of these bolts are sinks, so something like a BatchedTickSink abstract
class? I will think about that some more...
+1 (non-binding) for this change.
---
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.
---