← ZIO Kafka docs

OffsetEpoch

zio.kafka.consumer.Consumer.OffsetEpoch
final case class OffsetEpoch(offset: Long, leaderEpoch: Option[Int])

A committed offset with leader epoch.

See ConsumerSettings.withOffsetRetrieval.

Value parameters

leaderEpoch

the leaderEpoch of the offset, or None if unknown

offset

the next offset to consume from

Attributes

Source
Consumer.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala