(PECL rdkafka >= 4.0.1)
RdKafka\ConsumerTopic::consumeCallback — Consume messages through a provided callback
$partition, integer $timeout_ms, callable $callback): void
Consume messages through a callback from a given partition.
Of all the low level consuming methods, this is the fastest.
Consumer must have been previously started with RdKafka\ConsumerTopic::consumeStart().