kafka

api

package api

Visibility
  1. Public
  2. All

Type Members

  1. case class ControlledShutdownRequest(versionId: Short, correlationId: Int, brokerId: Int) extends RequestOrResponse with Product with Serializable

  2. case class ControlledShutdownResponse(correlationId: Int, errorCode: Short, partitionsRemaining: Set[TopicAndPartition]) extends RequestOrResponse with Product with Serializable

  3. case class FetchRequest(versionId: Short, correlationId: Int, clientId: String, replicaId: Int, maxWait: Int, minBytes: Int, requestInfo: Map[TopicAndPartition, PartitionFetchInfo]) extends RequestOrResponse with Product with Serializable

  4. class FetchRequestBuilder extends AnyRef

    Annotations
    @nonthreadsafe()
  5. case class FetchResponse(correlationId: Int, data: Map[TopicAndPartition, FetchResponsePartitionData]) extends Product with Serializable

  6. case class FetchResponsePartitionData(error: Short, hw: Long, messages: MessageSet) extends Product with Serializable

  7. class FetchResponseSend extends Send

  8. case class LeaderAndIsr(leader: Int, leaderEpoch: Int, isr: List[Int], zkVersion: Int) extends Product with Serializable

  9. case class LeaderAndIsrRequest(versionId: Short, correlationId: Int, clientId: String, controllerId: Int, controllerEpoch: Int, partitionStateInfos: Map[(String, Int), PartitionStateInfo], leaders: Set[Broker]) extends RequestOrResponse with Product with Serializable

  10. case class LeaderAndIsrResponse(correlationId: Int, responseMap: Map[(String, Int), Short], errorCode: Short) extends RequestOrResponse with Product with Serializable

  11. case class OffsetRequest(requestInfo: Map[TopicAndPartition, PartitionOffsetRequestInfo], versionId: Short, correlationId: Int, clientId: String, replicaId: Int) extends RequestOrResponse with Product with Serializable

  12. case class OffsetResponse(correlationId: Int, partitionErrorAndOffsets: Map[TopicAndPartition, PartitionOffsetsResponse]) extends RequestOrResponse with Product with Serializable

  13. class PartitionDataSend extends Send

  14. case class PartitionFetchInfo(offset: Long, fetchSize: Int) extends Product with Serializable

  15. case class PartitionMetadata(partitionId: Int, leader: Option[Broker], replicas: Seq[Broker], isr: Seq[Broker], errorCode: Short) extends Logging with Product with Serializable

  16. case class PartitionOffsetRequestInfo(time: Long, maxNumOffsets: Int) extends Product with Serializable

  17. case class PartitionOffsetsResponse(error: Short, offsets: Seq[Long]) extends Product with Serializable

  18. case class PartitionStateInfo(leaderIsrAndControllerEpoch: LeaderIsrAndControllerEpoch, allReplicas: Set[Int]) extends Product with Serializable

  19. case class ProducerRequest(versionId: Short, correlationId: Int, clientId: String, requiredAcks: Short, ackTimeoutMs: Int, data: Map[TopicAndPartition, ByteBufferMessageSet]) extends RequestOrResponse with Product with Serializable

  20. case class ProducerResponse(correlationId: Int, status: Map[TopicAndPartition, ProducerResponseStatus]) extends RequestOrResponse with Product with Serializable

  21. case class ProducerResponseStatus(error: Short, offset: Long) extends Product with Serializable

  22. case class StopReplicaRequest(versionId: Short, correlationId: Int, clientId: String, controllerId: Int, controllerEpoch: Int, deletePartitions: Boolean, partitions: Set[(String, Int)]) extends RequestOrResponse with Product with Serializable

  23. case class StopReplicaResponse(correlationId: Int, responseMap: Map[(String, Int), Short], errorCode: Short) extends RequestOrResponse with Product with Serializable

  24. case class TopicData(topic: String, partitionData: Map[Int, FetchResponsePartitionData]) extends Product with Serializable

  25. class TopicDataSend extends Send

  26. case class TopicMetadata(topic: String, partitionsMetadata: Seq[PartitionMetadata], errorCode: Short) extends Logging with Product with Serializable

  27. case class TopicMetadataRequest(versionId: Short, correlationId: Int, clientId: String, topics: Seq[String]) extends RequestOrResponse with Product with Serializable

  28. case class TopicMetadataResponse(topicsMetadata: Seq[TopicMetadata], correlationId: Int) extends RequestOrResponse with Product with Serializable

  29. case class UpdateMetadataRequest(versionId: Short, correlationId: Int, clientId: String, controllerId: Int, controllerEpoch: Int, partitionStateInfos: Map[TopicAndPartition, PartitionStateInfo], aliveBrokers: Set[Broker]) extends RequestOrResponse with Product with Serializable

  30. case class UpdateMetadataResponse(correlationId: Int, errorCode: Short) extends RequestOrResponse with Product with Serializable

Value Members

  1. object ApiUtils extends AnyRef

    Helper functions specific to parsing or serializing requests and responses

  2. object ControlledShutdownRequest extends Logging with Serializable

  3. object ControlledShutdownResponse extends Serializable

  4. object FetchRequest extends Serializable

  5. object FetchResponse extends Serializable

  6. object FetchResponsePartitionData extends Serializable

  7. object LeaderAndIsr extends Serializable

  8. object LeaderAndIsrRequest extends Serializable

  9. object LeaderAndIsrResponse extends Serializable

  10. object OffsetRequest extends Serializable

  11. object OffsetResponse extends Serializable

  12. object PartitionMetadata extends Serializable

  13. object PartitionStateInfo extends Serializable

  14. object ProducerRequest extends Serializable

  15. object ProducerResponse extends Serializable

  16. object Request extends AnyRef

  17. object RequestKeys extends AnyRef

  18. object StopReplicaRequest extends Logging with Serializable

  19. object StopReplicaResponse extends Serializable

  20. object TopicData extends Serializable

  21. object TopicMetadata extends Serializable

  22. object TopicMetadataRequest extends Logging with Serializable

  23. object TopicMetadataResponse extends Serializable

  24. object UpdateMetadataRequest extends Serializable

  25. object UpdateMetadataResponse extends Serializable