(PECL rdkafka >= 3.1.0, librdkafka >= 0.9)
RdKafka\Conf::setConsumeCb — Set consume callback
$callback
Set consume callback to use with poll
callback
A callable with the following signature:
<?php/** * @param Message $msg */function ($msg);