类 KafkaTransactionSender<K,​V>

  • 类型参数:
    K - key type.
    V - value type.
    所有已实现的接口:
    AutoCloseable, KafkaProduceSender<K,​V>

    public class KafkaTransactionSender<K,​V>
    extends Object
    implements KafkaProduceSender<K,​V>
    This sender will use kafka transaction to guarantee the data is sent to kafka at exactly-once.