CommittableOffset

fs2.kafka.CommittableOffset
See theCommittableOffset companion object
sealed abstract class CommittableOffset[F[_]]

An offset and metadata for a topic and partition which can be committed.

Note offsets are most often committed in batches for performance reasons.

Attributes

Companion
object
Source
CommittableOffset.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Abstract methods

def commit: F[Unit]

Commits the offset and metadata for the topic and partition.

Commits the offset and metadata for the topic and partition.

Attributes

Source
CommittableOffset.scala

The committer used to commit the offset and metadata.

The committer used to commit the offset and metadata.

Attributes

Source
CommittableOffset.scala
def offsetAndMetadata: OffsetAndMetadata

The offset and metadata for the topic and partition.

The offset and metadata for the topic and partition.

Attributes

Source
CommittableOffset.scala
def topicPartition: TopicPartition

The topic and partition for the offset and metadata.

The topic and partition for the offset and metadata.

Attributes

Source
CommittableOffset.scala

Concrete methods

final def mapK[G[_]](f: FunctionK[F, G]): CommittableOffset[G]

Creates a new CommittableOffset in which the effect type has been changed using the specified FunctionK.

Creates a new CommittableOffset in which the effect type has been changed using the specified FunctionK.

Attributes

Source
CommittableOffset.scala