There is the possibility to pass along metadata for the offsets to commit.
This would be possible if we expose metadata of topic partition and internally set metadata_size accordingly.
The metadata could then be fetched again when calling getCommittedOffsets