Offset

zio.kafka.consumer.Offset
See theOffset companion object
sealed trait Offset

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

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