OffsetBatch

sealed trait OffsetBatch
Companion:
object
class Object
trait Matchable
class Any
object EmptyOffsetBatch.type

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 & Clock, 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