final case class AckableRecord[A] extends ConsumerAccess with Product with Serializable
Represents a message with the components needed to commit the offsets/partitions to Kafka
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- AckableRecord
- Serializable
- Product
- Equals
- ConsumerAccess
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- type Key = ConsumerAccess.Key
- Definition Classes
- AckableRecord → ConsumerAccess
- type Value = ConsumerAccess.Value
- Definition Classes
- AckableRecord → ConsumerAccess
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
- val access: ConsumerAccess
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commit(offset: PartitionOffsetState): Future[Map[TopicPartition, OffsetAndMetadata]]
- def commitAsync(state: PartitionOffsetState): Future[Future[Map[TopicPartition, OffsetAndMetadata]]]
- def commitConsumedPosition(): Future[Map[TopicPartition, OffsetAndMetadata]]
If we commit this offset, then on reconnect we would receive this same message again
If we commit this offset, then on reconnect we would receive this same message again
- returns
the commit future
- def commitPosition(): Future[Map[TopicPartition, OffsetAndMetadata]]
Commits the current partition offset + 1 to Kafka so that, should we disconnect, we'll receive the next message
Commits the current partition offset + 1 to Kafka so that, should we disconnect, we'll receive the next message
- returns
a future of the offsets
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def map[B](f: (A) => B): AckableRecord[B]
Maps the record type for this record
- 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()
- val offset: PartitionOffsetState
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val record: A
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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()
- def withConsumer[A](thunk: (RichKafkaConsumer[Key, Value]) => A): Future[A]
- Definition Classes
- AckableRecord → ConsumerAccess