@brief Commit offsets on broker for the provided list of partitions.
\p offsets should contain \c topic, \c partition, \c offset and possibly
\c metadata.
If \p offsets is NULL the current partition assignment will be used instead.
If \p async is false this operation will block until the broker offset commit
is done, returning the resulting success or error code.
If a rd_kafka_conf_set_offset_commit_cb() offset commit callback has been
configured the callback will be enqueued for a future call to
rd_kafka_poll(), rd_kafka_consumer_poll() or similar.
@brief Commit offsets on broker for the provided list of partitions.
\p offsets should contain \c topic, \c partition, \c offset and possibly \c metadata. If \p offsets is NULL the current partition assignment will be used instead.
If \p async is false this operation will block until the broker offset commit is done, returning the resulting success or error code.
If a rd_kafka_conf_set_offset_commit_cb() offset commit callback has been configured the callback will be enqueued for a future call to rd_kafka_poll(), rd_kafka_consumer_poll() or similar.