(PECL rdkafka >= 3.1.1)
RdKafka::queryWatermarkOffsets — Query offsets for a topic / partition
$topic
$partition
&$low
&$high
$timeout_ms
Query broker for low (oldest/beginning) or high (newest/end) offsets for a partition
topic
The topic name.
partition
The partition.
&low
The oldest/beginning offset for the partition
&high
The newest/end offset for the partition.
timeout_ms
Timeout in millisecounds for this operation.
Returns no value.