GitHub user nabhanelrahman opened a pull request:

    https://github.com/apache/storm/pull/1487

    off-by-one error for UNCOMMITTED_LATEST and UNCOMMITTED_EARLIEST

    
    In the source code documentation, it says for both UNCOMMITTED_LATEST
    and UNCOMMITTED_EARLIEST it will fetch the last committed offset ( if it
    exists ).  But the code fetches last committed + 1;
    
    If a topology is killed/crashes and then is redeployed, this off-by-one
    error causes one message per partition to be dropped.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/publica-project/storm 
storm-kafka-client_fetch_offset

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/storm/pull/1487.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 #1487
    
----

----


---
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.
---

Reply via email to