|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.kafka.clients.producer.RecordMetadata
public final class RecordMetadata
The metadata for a record that has been acknowledged by the server
| Constructor Summary | |
|---|---|
RecordMetadata(TopicPartition topicPartition,
long baseOffset,
long relativeOffset)
|
|
| Method Summary | |
|---|---|
long |
offset()
The offset of the record in the topic/partition. |
int |
partition()
The partition the record was sent to |
java.lang.String |
topic()
The topic the record was appended to |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RecordMetadata(TopicPartition topicPartition,
long baseOffset,
long relativeOffset)
| Method Detail |
|---|
public long offset()
public java.lang.String topic()
public int partition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||