RecordMetadata
aiokafka.structs.RecordMetadata
#
Bases: NamedTuple
Returned when a :class:~.AIOKafkaProducer
sends a message
offset
instance-attribute
#
The unique offset of the message in this partition.
See :ref:Offsets and Consumer Position <offset_and_position>
for more
details on offsets.
timestamp_type
instance-attribute
#
The timestamp type of this record.
If the broker respected the timestamp passed to
:meth:.AIOKafkaProducer.send
, 0
will be returned (CreateTime
).
If the broker set it's own timestamp, 1
will be returned (LogAppendTime
).