Offset

sealed trait Offset
Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def commit: Task[Unit]
def consumerGroupMetadata: Option[ConsumerGroupMetadata]
def offset: Long
def topicPartition: TopicPartition

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