fs2.kafka.CommittableOffsetBatch
See theCommittableOffsetBatch companion class
object CommittableOffsetBatch
Attributes
- Companion
- class
- Source
- CommittableOffsetBatch.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass 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
def fromFoldableOption[F[_] : Parallel, G[_] : Foldable](offsets: G[Option[CommittableOffset[F]]]): CommittableOffsetBatch[F]
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
Implicits
Attributes
- Source
- CommittableOffsetBatch.scala
Attributes
- Source
- CommittableOffsetBatch.scala
In this article