Class ProducerState


  • public class ProducerState
    extends Object
    • Constructor Detail

      • ProducerState

        public ProducerState​(long producerId,
                             int producerEpoch,
                             int lastSequence,
                             long lastTimestamp,
                             OptionalInt coordinatorEpoch,
                             OptionalLong currentTransactionStartOffset)
    • Method Detail

      • producerId

        public long producerId()
      • producerEpoch

        public int producerEpoch()
      • lastSequence

        public int lastSequence()
      • lastTimestamp

        public long lastTimestamp()
      • currentTransactionStartOffset

        public OptionalLong currentTransactionStartOffset()
      • coordinatorEpoch

        public OptionalInt coordinatorEpoch()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object