(PECL rdkafka >= 0.9.1)
This object represents either a single consumed or produced message, or an event ($err is set).
An application must check RdKafka\Message::err to see if the object is a proper message (error is RD_KAFKA_RESP_ERR_NO_ERROR
) or an error event.
Error code
Length
Topic name
Timestamp
Partition
Payload
Key
Offset
In a delivery callback context, this is the value of the opaque
from the RdKafka\ProducerTopic::produce() or RdKafka\ProducerTopic::producev() call. (Since PECL rdkafka 5.0.0 with librdkafka >= 1.0.0.)