rd_kafka_offset_tail

(PECL rdkafka >= 0.9.1)

rd_kafka_offset_tailKafka offset relative to tail

Description

rd_kafka_offset_tail ( integer $cnt ) : integer

Returns a special offset value that can be used to start consuming cnt messages before the tail of the topic.

Parameters

This function has no parameters.

Return Values

Returns the special offset as an integer.