Skip to content

Commit

Permalink
[FLINK-19760] Sink API: Make the GlobalCommitter not extend the `Co…
Browse files Browse the repository at this point in the history
…mmitter`

This patch decouples the `GlobalCommitter` from the `Committer`
interface in the new Sink API.

This closes apache#13888.
  • Loading branch information
guoweiM authored and kl0u committed Nov 3, 2020
1 parent 34d0a9c commit 926e1bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @param <GlobalCommT> The type of the aggregated committable
*/
@Experimental
public interface GlobalCommitter<CommT, GlobalCommT> extends Committer<GlobalCommT> {
public interface GlobalCommitter<CommT, GlobalCommT> extends AutoCloseable {

/**
* Find out which global committables need to be retried when recovering from the failure.
Expand Down

0 comments on commit 926e1bc

Please sign in to comment.