commit offsets to the broker.
@tplist is an array of hashes with the
following keys: "topic", "partition", "offset", "metadata". If
@topic_partition_list is missing or undef, then current partition
assignment is used instead. If $async is 1, then method returns
immediately, if it is 0 or missing then method blocks until offsets are
committed.