trait CommittableOffsetBatch extends Committable
For improved efficiency it is good to aggregate several CommittableOffset, using this class, before committing them. Start with the empty batch.
- Annotations
- @DoNotInherit()
- Source
- ConsumerMessage.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CommittableOffsetBatch
- Committable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def batchSize: Long
Get a number of processed messages this committable contains
Get a number of processed messages this committable contains
- Definition Classes
- Committable
- abstract def getOffsets: Map[GroupTopicPartition, Long]
Java API: Get current offset positions
- abstract def isEmpty: Boolean
- returns
true if the batch contains no commits.
- abstract def offsets: Map[GroupTopicPartition, Long]
Scala API: Get current offset positions
- abstract def updated(offset: Committable): CommittableOffsetBatch
Add/overwrite an offset position from another committable.
- abstract def commitJavadsl(): CompletionStage[Done]
- Definition Classes
- Committable
- Annotations
- @Deprecated @deprecated
- Deprecated
(Since version 2.0.0) use
Committer.flow
orCommitter.sink
instead of direct usage
- abstract def commitScaladsl(): Future[Done]
- Definition Classes
- Committable
- Annotations
- @deprecated
- Deprecated
(Since version 2.0.0) use
Committer.flow
orCommitter.sink
instead of direct usage
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()