GitHub user kleinsch opened a pull request:
https://github.com/apache/storm/pull/780
STORM-1086. Make FailedMsgRetryManager configurable when setting up
KafkaSpout
We'd like to be able to drop messages when they've been replayed N times.
Seems easy to do if we could extend ExponentialBackoffMsgRetryManager, but
there's no way to inject a custom FailedMsgRetryManager without changing the
Kafka codebase. This PR allows users to inject the FailedMsgRetryManager when
creating a KafkaSpout.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/kleinsch/storm STORM-1086
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/780.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 #780
----
commit b7282b3a44ead4b20f9a5f2151ca1eba96f3abc8
Author: Nick Kleinschmidt <[email protected]>
Date: 2015-10-02T17:36:41Z
STORM-1086. Make FailedMsgRetryManager configurable when setting up
KafkaSpout
----
---
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.
---