o

akka.kafka

Metadata

object Metadata

Messages for Kafka metadata fetching via KafkaConsumerActor.

NOTE: Processing of these requests blocks the actor loop. The KafkaConsumerActor is configured to run on its own dispatcher, so just as the other remote calls to Kafka, the blocking happens within a designated thread pool. However, calling these during consuming might affect performance and even cause timeouts in extreme cases.

Source
Metadata.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Metadata
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class BeginningOffsets(response: Try[Map[TopicPartition, Long]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable
  2. final case class CommittedOffsets(response: Try[Map[TopicPartition, OffsetAndMetadata]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable
  3. final case class EndOffsets(response: Try[Map[TopicPartition, Long]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable
  4. final case class GetBeginningOffsets(partitions: Set[TopicPartition]) extends Request with NoSerializationVerificationNeeded with Product with Serializable

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

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

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  5. final case class GetCommittedOffsets(partitions: Set[TopicPartition]) extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#committed()

  6. final case class GetEndOffsets(partitions: Set[TopicPartition]) extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets()

    org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets()

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  7. final case class GetOffsetsForTimes(timestampsToSearch: Map[TopicPartition, Long]) extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#offsetsForTimes()

    org.apache.kafka.clients.consumer.KafkaConsumer#offsetsForTimes()

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  8. final case class GetPartitionsFor(topic: String) extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#partitionsFor()

  9. final case class OffsetsForTimes(response: Try[Map[TopicPartition, OffsetAndTimestamp]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable
  10. final case class PartitionsFor(response: Try[List[PartitionInfo]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable
  11. sealed trait Request extends AnyRef
  12. sealed trait Response extends AnyRef
  13. final case class Topics(response: Try[Map[String, List[PartitionInfo]]]) extends Response with NoSerializationVerificationNeeded with Product with Serializable

Deprecated Type Members

  1. final case class CommittedOffset(response: Try[OffsetAndMetadata], requestedPartition: TopicPartition) extends Response with NoSerializationVerificationNeeded with Product with Serializable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.3) use CommittedOffsets

  2. final case class GetCommittedOffset(partition: TopicPartition) extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#committed()

    org.apache.kafka.clients.consumer.KafkaConsumer#committed()

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.3) use GetCommittedOffsets

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 clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def createGetBeginningOffsets(partitions: Set[TopicPartition]): GetBeginningOffsets

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#beginningOffsets()

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#beginningOffsets()

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  7. def createGetCommittedOffsets(partitions: Set[TopicPartition]): GetCommittedOffsets

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#committed()

  8. def createGetEndOffsets(partitions: Set[TopicPartition]): GetEndOffsets

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets()

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#endOffsets()

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  9. def createGetOffsetForTimes(timestampsToSearch: Map[TopicPartition, Long]): GetOffsetsForTimes

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#offsetsForTimes()

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#offsetsForTimes()

    Warning: KafkaConsumer documentation states that this method may block indefinitely if the partition does not exist.

  10. def createGetPartitionsFor(topic: String): GetPartitionsFor

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#partitionsFor()

  11. def createListTopics: ListTopics.type

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#listTopics()

  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. case object ListTopics extends Request with NoSerializationVerificationNeeded with Product with Serializable

    org.apache.kafka.clients.consumer.KafkaConsumer#listTopics()

Deprecated Value Members

  1. def createGetCommittedOffset(partition: TopicPartition): GetCommittedOffset

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#committed()

    Java API: org.apache.kafka.clients.consumer.KafkaConsumer#committed()

    Annotations
    @deprecated
    Deprecated

    (Since version 2.0.3) use createGetCommittedOffsets

Inherited from AnyRef

Inherited from Any

Ungrouped