CommittableOffsetBatch

fs2.kafka.CommittableOffsetBatch
See theCommittableOffsetBatch companion class

Attributes

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

Members list

Value members

Concrete methods

Returns an empty batch without any offsets or metadata.

Returns an empty batch without any offsets or metadata.

Attributes

Source
CommittableOffsetBatch.scala
def fromFoldable[F[_] : Parallel, G[_] : Foldable](offsets: G[CommittableOffset[F]]): CommittableOffsetBatch[F]

Returns a new offset batch from the specified foldable offsets.

Returns a new offset batch from the specified foldable offsets.

Attributes

Source
CommittableOffsetBatch.scala
def fromFoldableMap[F[_] : Parallel, G[_] : Foldable, A](ga: G[A])(f: A => CommittableOffset[F]): CommittableOffsetBatch[F]

Returns a new offset batch from the specified foldable elements.

Returns a new offset batch from the specified foldable elements.

The provided function is used on each element to retrieve the offset.

Attributes

Source
CommittableOffsetBatch.scala

Returns a new offset batch from the specified optional offsets.

Returns a new offset batch from the specified optional offsets.

Attributes

Source
CommittableOffsetBatch.scala

Implicits