GitHub user tzulitai opened a pull request:

    https://github.com/apache/flink/pull/2604

    [FLINK-4753] [kafka] PeriodicOffsetCommitter should synchronize on 
checkpoint lock

    The `PeriodicOffsetCommitter` in Kafka 0.8 currently doesn't synchronize on 
the checkpoint lock when creating a copy of the partition offsets in the 
current state.
    
    This change proposes to pass the checkpoint lock into 
`PeriodicOffsetCommitter`, and let `PeriodicOffsetCommitter` use 
`Kafka08Fetcher#snapshotCurrentState()` to make copies of the current state.
    
    This PR also includes removal of some leftover unused code after some 
recent refactoring of the Kafka connectors in commit 53ed6ada.

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

    $ git pull https://github.com/tzulitai/flink FLINK-4753

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

    https://github.com/apache/flink/pull/2604.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 #2604
    
----
commit 90dfeed7a8b9898a57edfd0082e12b0711895280
Author: Tzu-Li (Gordon) Tai <tzuli...@apache.org>
Date:   2016-10-06T11:23:01Z

    [FLINK-4753] [kafka] PeriodicOffsetCommitter should synchronize on 
checkpoint lock

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to