Class CheckpointTransaction


  • @Internal
    public class CheckpointTransaction
    extends Object
    An immutable class that represents a transactional id and a checkpoint id. It's used inside the ProducerPoolImpl to keep track of the transactions that are currently in-flight. The checkpoint id is used to subsume committed transactions wrt to recycling producers.
    • Constructor Detail

      • CheckpointTransaction

        public CheckpointTransaction​(String transactionalId,
                                     long checkpointId)
    • Method Detail

      • getCheckpointId

        public long getCheckpointId()
      • getTransactionalId

        public String getTransactionalId()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object