← ZIO Kafka docs

OffsetRetrieval

zio.kafka.consumer.Consumer.OffsetRetrieval
See theOffsetRetrieval companion trait

Attributes

Companion
trait
Source
Consumer.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

final case class Auto(reset: AutoOffsetStrategy = ...) extends OffsetRetrieval

Automatic offset retrieval. See ConsumerSettings.withOffsetRetrieval.

Automatic offset retrieval. See ConsumerSettings.withOffsetRetrieval.

Attributes

Source
Consumer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class External(getOffsets: Set[TopicPartition] => Task[Map[TopicPartition, OffsetEpoch]], defaultStrategy: AutoOffsetStrategy = ...) extends OffsetRetrieval

External offset retrieval. See ConsumerSettings.withOffsetRetrieval.

External offset retrieval. See ConsumerSettings.withOffsetRetrieval.

Attributes

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

Deprecated classlikes

final case class Manual(getOffsets: Set[TopicPartition] => Task[Map[TopicPartition, Long]], defaultStrategy: AutoOffsetStrategy = ...) extends OffsetRetrieval

External offset retrieval. See ConsumerSettings.withOffsetRetrieval.

External offset retrieval. See ConsumerSettings.withOffsetRetrieval.

Attributes

Deprecated
[Since version 3.8.0] Use OffsetRetrieval.External instead
Source
Consumer.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala