Class CheckpointTransaction
- java.lang.Object
-
- org.apache.flink.connector.kafka.sink.internal.CheckpointTransaction
-
@Internal public class CheckpointTransaction extends Object
An immutable class that represents a transactional id and a checkpoint id. It's used inside theProducerPoolImplto keep track of the transactions that are currently in-flight. The checkpoint id is used to subsume committed transactions wrt to recycling producers.
-
-
Constructor Summary
Constructors Constructor Description CheckpointTransaction(String transactionalId, long checkpointId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetCheckpointId()StringgetTransactionalId()inthashCode()StringtoString()
-