@brief Look up the offsets for the given partitions by timestamp.
The returned offset for each partition is the earliest offset whose
timestamp is greater than or equal to the given timestamp in the
corresponding partition.
The timestamps to query are represented as \c offset in \p offsets
on input, and \c offset will contain the offset on output.
The function will block for at most \p timeout_ms milliseconds.
@remark Duplicate Topic+Partitions are not supported.
@remark Per-partition errors may be returned in \c rd_kafka_topic_partition_t.err
@returns an error code for general errors, else RD_KAFKA_RESP_ERR_NO_ERROR
in which case per-partition errors might be set.
@brief Look up the offsets for the given partitions by timestamp.
The returned offset for each partition is the earliest offset whose timestamp is greater than or equal to the given timestamp in the corresponding partition.
The timestamps to query are represented as \c offset in \p offsets on input, and \c offset will contain the offset on output.
The function will block for at most \p timeout_ms milliseconds.
@remark Duplicate Topic+Partitions are not supported. @remark Per-partition errors may be returned in \c rd_kafka_topic_partition_t.err
@returns an error code for general errors, else RD_KAFKA_RESP_ERR_NO_ERROR in which case per-partition errors might be set.