GitHub user srdo opened a pull request:
https://github.com/apache/storm/pull/2922
STORM-3301: Fix case where KafkaSpout could emit tuples that were alrâ¦
â¦eady committed
https://issues.apache.org/jira/browse/STORM-3301
I removed an unnecessary contains check in KafkaSpout during init, it would
always return false. I made a slight change to log compaction handling, the
spout will now commit an acked offset after a gap, even if it's the only one.
Previously there had to be at least 2 acked offsets after the gap before commit.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srdo/storm STORM-3301
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/2922.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 #2922
----
commit a657686e150edf3de6942d2b51fe19461d47376a
Author: Stig Rohde Døssing <srdo@...>
Date: 2018-12-08T21:15:04Z
STORM-3301: Fix case where KafkaSpout could emit tuples that were already
committed
----
---