Interface SupportsCommitter<CommittableT>

  • Type Parameters:
    CommittableT - The type of the committables.
    All Known Subinterfaces:
    TwoPhaseCommittingSink<InputT,​CommT>

    @PublicEvolving
    public interface SupportsCommitter<CommittableT>
    A mixin interface for a Sink which supports exactly-once semantics using a two-phase commit protocol. The Sink consists of a CommittingSinkWriter that performs the precommits and a Committer that actually commits the data. To facilitate the separation the CommittingSinkWriter creates committables on checkpoint or end of input and the sends it to the Committer.

    The Sink needs to be serializable. All configuration should be validated eagerly. The respective sink writers and committers are transient and will only be created in the subtasks on the taskmanagers.