Interface ProducerPool

    • Method Detail

      • recycleByTransactionId

        void recycleByTransactionId​(String transactionalId,
                                    boolean success)
        Notify the pool that a transaction has finished. The producer with the given transactional id can be recycled.
      • recycle

        void recycle​(FlinkKafkaInternalProducer<byte[],​byte[]> producer)
        Explicitly recycle a producer. This is useful when the producer has not been passed to the committer.