[ https://issues.apache.org/jira/browse/STORM-1549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15174566#comment-15174566 ]
ASF GitHub Bot commented on STORM-1549: --------------------------------------- GitHub user srdo opened a pull request: https://github.com/apache/storm/pull/1174 STORM-1549: [master] Add support for resetting tuple timeout from bolts via the OutputCollector This is a port of https://github.com/apache/storm/pull/1107 to master. You can merge this pull request into a Git repository by running: $ git pull https://github.com/srdo/storm master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/storm/pull/1174.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1174 ---- commit d36be51a39abb03ac47e01eb2e1fda31f9f9110b Author: Stig Rohde Døssing <generalbas....@gmail.com> Date: 2016-02-14T01:39:42Z STORM-1549: Add support for resetting tuple timeout from bolts via the OutputCollector ---- > Add support for extending tuple tree timeout > -------------------------------------------- > > Key: STORM-1549 > URL: https://issues.apache.org/jira/browse/STORM-1549 > Project: Apache Storm > Issue Type: New Feature > Components: storm-core > Reporter: Stig Rohde Døssing > Assignee: Stig Rohde Døssing > Priority: Minor > > During the discussion of https://github.com/apache/storm/pull/700 the issue > of allowing timeout extension in case of unavailable external components > (such as a web service) came up. > The current implementation makes tuples fail at a set interval, regardless of > whether or not replaying them is necessary. This can be irritating in > topologies that emit to multiple services, since one hanging service will > cause replays to hit all the working services as well. > I suggest adding a resetTimeout function to IOutputCollector, which will make > the relevant ackers and spouts reinsert the tuple tree information in their > pending maps. > The intended usage is that a bolt can call this function on an interval if it > needs to delay expiration, for example if it needs to retry calling a web > server a few times. It may also be useful for slow topologies that want Storm > to detect hanging/dropped tuples faster than the max expected complete > latency of the topology. -- This message was sent by Atlassian JIRA (v6.3.4#6332)