[
https://issues.apache.org/jira/browse/STORM-1714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15245251#comment-15245251
]
ASF GitHub Bot commented on STORM-1714:
---------------------------------------
Github user HeartSaVioR commented on a diff in the pull request:
https://github.com/apache/storm/pull/1343#discussion_r60016799
--- Diff: storm-core/src/jvm/org/apache/storm/topology/IStatefulBolt.java
---
@@ -27,5 +32,17 @@
* state updates. The stateful bolts are expected to anchor the tuples
while emitting
* and ack the input tuples once its processed.</p>
*/
-public interface IStatefulBolt<T extends State> extends
IStatefulComponent<T>, IRichBolt {
+public interface IStatefulBolt<T extends State> extends
IStatefulComponent<T> {
--- End diff --
Good fix. :)
> StatefulBolts ends up as normal bolts while using TopologyBuilder.setBolt
> without parallelism
> ---------------------------------------------------------------------------------------------
>
> Key: STORM-1714
> URL: https://issues.apache.org/jira/browse/STORM-1714
> Project: Apache Storm
> Issue Type: Bug
> Affects Versions: 1.0.0, 2.0.0
> Reporter: Arun Mahadevan
> Assignee: Arun Mahadevan
>
> StatefulBolt inherits from IRichBolt which but the TopologyBuilder.setBolt
> overload is chosen based on the static type of the parameter causing issues.
> See if StatfulBolt can be refactored to not directly inherit from IRichBolt.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)