Class SimplePubSubProduceResultImpl

    • Constructor Summary

      Constructor Description
      SimplePubSubProduceResultImpl​(java.lang.String topic, int partition, long offset, int serializedSize)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getOffset()
      The offset of the record in the topic/partition.
      int getPartition()
      The partition the record was sent to
      int getSerializedSize()
      Sum of the size of the serialized, uncompressed key and value in bytes.
      java.lang.String getTopic()
      The topic the record was appended to
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SimplePubSubProduceResultImpl

        public SimplePubSubProduceResultImpl​(java.lang.String topic,
                                             int partition,
                                             long offset,
                                             int serializedSize)