@brief Get last known low (oldest/beginning) and high (newest/end) offsets
for partition.
The low offset is updated periodically (if statistics.interval.ms is set)
while the high offset is updated on each fetched message set from the broker.
If there is no cached offset (either low or high, or both) then
RD_KAFKA_OFFSET_INVALID will be returned for the respective offset.
Offsets are returned in \p *low and \p *high respectively.
@returns RD_KAFKA_RESP_ERR_NO_ERROR on success or an error code on failure.
@remark Shall only be used with an active consumer instance.
@brief Get last known low (oldest/beginning) and high (newest/end) offsets for partition.
The low offset is updated periodically (if statistics.interval.ms is set) while the high offset is updated on each fetched message set from the broker.
If there is no cached offset (either low or high, or both) then RD_KAFKA_OFFSET_INVALID will be returned for the respective offset.
Offsets are returned in \p *low and \p *high respectively.
@returns RD_KAFKA_RESP_ERR_NO_ERROR on success or an error code on failure.
@remark Shall only be used with an active consumer instance.