GitHub user hmcl opened a pull request:
https://github.com/apache/storm/pull/2387
STORM-2787: storm-kafka-client KafkaSpout method onPartitionsRevoked(...)
should set initialized flag independently of processing guarantees
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hmcl/storm-apache
Apache_master_STORM-2787_KSInitFlag
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2387.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 #2387
----
commit 95d10fc60669fdf6b28f28fd9a5536a905a9a26e
Author: Hugo Louro <[email protected]>
Date: 2017-10-23T00:44:54Z
STORM-2781: Refactor storm-kafka-client KafkaSpout Processing Guarantees
- Define processing guarantees as AT_LEAST_ONCE, AT_MOST_ONCE, NONE
- Refactor method name from setForceEnableTupleTracking to
setTupleTrackingEnforced
- Throw IllegalStateException instead of IllegalArgumentException if spout
attempts to emit an already committed message
- Update documentation to reflect these changes
commit 12473ed944a0f1499a2ba61987a223bd861e9768
Author: Hugo Louro <[email protected]>
Date: 2017-10-25T06:52:54Z
STORM-2787: storm-kafka-client KafkaSpout method onPartitionsRevoked(...)
should set initialized flag independently of processing guarantees
----
---