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. 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.

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

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

  3. 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.

  4. 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.

  5. def createGetPartitionsFor(topic: String): GetPartitionsFor

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

  6. def createListTopics: ListTopics.type

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

  7. 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