(PECL rdkafka >= 3.1.0)
RdKafka\Message::headers — Get the message headers
Get the headers of a message.
This function has no parameters.
The headers as an array
Example #1 RdKafka\Message::headers() example
<?php
var_dump($message->headers);
?>