Class TransactionDescription

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

@Evolving public class TransactionDescription extends Object
  • Constructor Details

    • TransactionDescription

      public TransactionDescription(int coordinatorId, TransactionState state, long producerId, int producerEpoch, long transactionTimeoutMs, OptionalLong transactionStartTimeMs, Set<TopicPartition> topicPartitions)
  • Method Details

    • coordinatorId

      public int coordinatorId()
    • state

      public TransactionState state()
    • producerId

      public long producerId()
    • producerEpoch

      public int producerEpoch()
    • transactionTimeoutMs

      public long transactionTimeoutMs()
    • transactionStartTimeMs

      public OptionalLong transactionStartTimeMs()
    • topicPartitions

      public Set<TopicPartition> topicPartitions()
    • 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