Class ProducerState

java.lang.Object
org.apache.kafka.clients.admin.ProducerState

public class ProducerState extends Object
  • Constructor Details

    • ProducerState

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

    • producerId

      public long producerId()
    • producerEpoch

      public int producerEpoch()
    • lastSequence

      public int lastSequence()
    • lastTimestamp

      public long lastTimestamp()
    • currentTransactionStartOffset

      public OptionalLong currentTransactionStartOffset()
    • coordinatorEpoch

      public OptionalInt coordinatorEpoch()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object