Class BackchannelFactory


  • @Internal
    @ThreadSafe
    public class BackchannelFactory
    extends Object
    Creates and manages backchannels for the Kafka sink. The backchannels are used to communicate between the Kafka committer and writer.

    Each backchannel is uniquely identified by the subtask id, attempt number, and transactional id prefix. The subtask id prevents concurrent subtasks of the same sink from conflicting. The attempt number prevents conflicts for task-local recovery. The transactional id prefix prevents conflicts between multiple Kafka sinks.