Class BackchannelImpl<T>
- java.lang.Object
-
- org.apache.flink.connector.kafka.sink.internal.BackchannelImpl<T>
-
@Internal @ThreadSafe public final class BackchannelImpl<T> extends Object
A backchannel for communication between the Kafka committer -> writer. It's used to recycle producer and signal that certain transactions have been committed on recovery.A backchannel provides two views: a readable view for the committer to read messages, and a writable view for the writer to send messages. Both views have a separate lifecycle. The lifecycle of this backchannel is bound to the joint lifecycle of the readable and writable views.