vertx / io.vertx.kotlin.kafka.client.consumer / OffsetAndMetadata

OffsetAndMetadata

fun OffsetAndMetadata(metadata: String? = null, offset: Long? = null): OffsetAndMetadata

A function providing a DSL for building io.vertx.kafka.client.consumer.OffsetAndMetadata objects.

Provide additional metadata when an offset is committed

Parameters

metadata - Set additional metadata for the offset committed

offset - Set the offset to commit