final class RestrictedConsumer extends AnyRef
Offers parts of the org.apache.kafka.clients.consumer.Consumer API which becomes available to the pekko.kafka.scaladsl.PartitionAssignmentHandler callbacks.
- Annotations
- @ApiMayChange()
- Source
- RestrictedConsumer.scala
- Alphabetic
- By Inheritance
- RestrictedConsumer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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 assignment(): Set[TopicPartition]
See org.apache.kafka.clients.consumer.KafkaConsumer#assignment
- def beginningOffsets(tps: Collection[TopicPartition]): Map[TopicPartition, Long]
See org.apache.kafka.clients.consumer.KafkaConsumer#beginningOffsets()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def commitSync(offsets: Map[TopicPartition, OffsetAndMetadata]): Unit
See org.apache.kafka.clients.consumer.KafkaConsumer#commitSync(Map,java.time.Duration)
- def committed(partitions: Set[TopicPartition]): Map[TopicPartition, OffsetAndMetadata]
See org.apache.kafka.clients.consumer.KafkaConsumer#committed(java.util.Set[TopicPartition],java.time.Duration)
- def endOffsets(tps: Collection[TopicPartition]): Map[TopicPartition, Long]
See org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets(java.util.Collection[TopicPartition],java.time.Duration)
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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()
- def offsetsForTimes(timestampsToSearch: Map[TopicPartition, Long]): Map[TopicPartition, OffsetAndTimestamp]
See org.apache.kafka.clients.consumer.KafkaConsumer#offsetsForTimes(java.util.Map[TopicPartition,Long],java.time.Duration)
- def position(tp: TopicPartition): Long
See java.time.Duration)
- def seek(tp: TopicPartition, offset: Long): Unit
See Long)
- def seekToBeginning(tps: Collection[TopicPartition]): Unit
See org.apache.kafka.clients.consumer.KafkaConsumer#seekToBeginning(java.util.Collection[TopicPartition])
- def seekToEnd(tps: Collection[TopicPartition]): Unit
See org.apache.kafka.clients.consumer.KafkaConsumer#seekToEnd(java.util.Collection[TopicPartition])
- 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()
Deprecated Value Members
- def committed(tp: TopicPartition): OffsetAndMetadata
See org.apache.kafka.clients.consumer.KafkaConsumer#committed(TopicPartition,java.time.Duration)
See org.apache.kafka.clients.consumer.KafkaConsumer#committed(TopicPartition,java.time.Duration)
- Annotations
- @deprecated
- Deprecated
(Since version Alpakka Kafka 2.0.5) use
committed(java.util.Set[TopicPartition])