← ZIO Kafka docs

EmptyOffsetBatch

zio.kafka.consumer.EmptyOffsetBatch
case object EmptyOffsetBatch extends OffsetBatch

Attributes

Source
OffsetBatch.scala
Graph
Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait OffsetBatch
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Inherited types

The names of the product elements.

The names of the product elements.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredMonoType = this.type

The mirrored *-type.

The mirrored *-type.

Attributes

Inherited from:
Singleton
Source
Mirror.scala
type MirroredType = this.type

Attributes

Inherited from:
Singleton
Source
Mirror.scala

Inherited and Abstract types

The name of the type.

The name of the type.

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

override def add(offset: Offset): OffsetBatch

Attributes

Definition Classes
Source
OffsetBatch.scala
override def consumerGroupMetadata: Option[ConsumerGroupMetadata]

Attributes

Definition Classes
Source
OffsetBatch.scala
override def merge(offsets: OffsetBatch): OffsetBatch

Attributes

Definition Classes
Source
OffsetBatch.scala

Inherited 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

Inherited from:
OffsetBatch
Source
OffsetBatch.scala

Creates a new instance of type T with elements taken from product p.

Creates a new instance of type T with elements taken from product p.

Attributes

Inherited from:
Singleton
Source
Mirror.scala

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

Concrete fields

override val commit: Task[Unit]

Commit the next offsets.

Commit the next offsets.

Attributes

Source
OffsetBatch.scala
override val nextOffsets: Map[TopicPartition, OffsetAndMetadata]

The committable next offsets.

The committable next offsets.

Attributes

Source
OffsetBatch.scala