OffsetBatch

zio.kafka.consumer.OffsetBatch
See theOffsetBatch companion object
sealed trait OffsetBatch

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object EmptyOffsetBatch.type

Members list

Concise view

Value members

Abstract methods

def commit: Task[Unit]
def consumerGroupMetadata: Option[ConsumerGroupMetadata]
def merge(offset: Offset): OffsetBatch
def offsets: Map[TopicPartition, Long]

Concrete methods

def commitOrRetry[R](policy: Schedule[R, Throwable, Any]): RIO[R, Unit]

Attempts to commit and retries according to the given policy when the commit fails with a RetriableCommitFailedException

Attempts to commit and retries according to the given policy when the commit fails with a RetriableCommitFailedException

Attributes