EventMetadata
fastkafka.EventMetadata
​
A class for encapsulating Kafka record metadata.
Parameters:
topic
: The topic this record is received frompartition
: The partition from which this record is receivedoffset
: The position of this record in the corresponding Kafka partitiontimestamp
: The timestamp of this recordtimestamp_type
: The timestamp type of this recordkey
: The key (orNone
if no key is specified)value
: The valueserialized_key_size
: The size of the serialized, uncompressed key in bytesserialized_value_size
: The size of the serialized, uncompressed value in bytesheaders
: The headers