RdKafka\TopicPartition::getOffset

(PECL rdkafka >= 1.0.0, librdkafka >= 0.9)

RdKafka\TopicPartition::getOffsetGet the offset

Description

public RdKafka\TopicPartition::getOffset ( void ) : integer

Gets the offset.

Parameters

This function has no parameters.

Return Values

Returns offset as an integer.