zio / zio-kafka

A Kafka client for ZIO and ZIO Streams
https://zio.dev/zio-kafka
Apache License 2.0
337 stars 138 forks source link

Consumer should be able to commit offset with metadata #1066

Closed flavienbert closed 11 months ago

flavienbert commented 1 year ago

It could be nice to be able to commit an offset with a metadata.

We could add this method in the Offset trait:

def withMetadata(metadata: String): Self

This way we don't create a breaking change in the Consumer API.