c

akka.kafka

RestrictedConsumer

final class RestrictedConsumer extends AnyRef

Offers parts of the org.apache.kafka.clients.consumer.Consumer API which becomes available to the akka.kafka.scaladsl.PartitionAssignmentHandler callbacks.

Annotations
@ApiMayChange()
Source
RestrictedConsumer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RestrictedConsumer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RestrictedConsumer(consumer: Consumer[_, _], duration: Duration)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assignment(): Set[TopicPartition]

    See org.apache.kafka.clients.consumer.KafkaConsumer#assignment

  6. def beginningOffsets(tps: Collection[TopicPartition]): Map[TopicPartition, Long]

    See org.apache.kafka.clients.consumer.KafkaConsumer#beginningOffsets()

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  8. def commitSync(offsets: Map[TopicPartition, OffsetAndMetadata]): Unit

    See org.apache.kafka.clients.consumer.KafkaConsumer#commitSync(Map,java.time.Duration)

  9. def committed(partitions: Set[TopicPartition]): Map[TopicPartition, OffsetAndMetadata]

    See org.apache.kafka.clients.consumer.KafkaConsumer#committed(java.util.Set[TopicPartition],java.time.Duration)

  10. def endOffsets(tps: Collection[TopicPartition]): Map[TopicPartition, Long]

    See org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets(java.util.Collection[TopicPartition],java.time.Duration)

  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. 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)

  20. def position(tp: TopicPartition): Long

    See java.time.Duration)

  21. def seek(tp: TopicPartition, offset: Long): Unit

    See Long)

  22. def seekToBeginning(tps: Collection[TopicPartition]): Unit

    See org.apache.kafka.clients.consumer.KafkaConsumer#seekToBeginning(java.util.Collection[TopicPartition])

  23. def seekToEnd(tps: Collection[TopicPartition]): Unit

    See org.apache.kafka.clients.consumer.KafkaConsumer#seekToEnd(java.util.Collection[TopicPartition])

  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. 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 2.0.5) use committed(java.util.Set[TopicPartition])

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped