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 OffsetCommitRequest(groupId: String, requestInfo: Map[TopicAndPartition, OffsetMetadataAndError], versionId: Short, correlationId: Int, clientId: String) extends RequestOrResponse with Product with Serializable

  12. case class OffsetCommitResponse(requestInfo: Map[TopicAndPartition, Short], correlationId: Int) extends RequestOrResponse with Product with Serializable

  13. case class OffsetFetchRequest(groupId: String, requestInfo: Seq[TopicAndPartition], versionId: Short, correlationId: Int, clientId: String) extends RequestOrResponse with Product with Serializable

  14. case class OffsetFetchResponse(requestInfo: Map[TopicAndPartition, OffsetMetadataAndError], correlationId: Int) extends RequestOrResponse with Product with Serializable

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

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

  17. class PartitionDataSend extends Send

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

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

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

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

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

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

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

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

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

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

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

  29. class TopicDataSend extends Send

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

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

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

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

  34. 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 OffsetCommitRequest extends Logging with Serializable

  11. object OffsetCommitResponse extends Logging with Serializable

  12. object OffsetFetchRequest extends Logging with Serializable

  13. object OffsetFetchResponse extends Logging with Serializable

  14. object OffsetRequest extends Serializable

  15. object OffsetResponse extends Serializable

  16. object PartitionMetadata extends Serializable

  17. object PartitionStateInfo extends Serializable

  18. object ProducerRequest extends Serializable

  19. object ProducerResponse extends Serializable

  20. object Request extends AnyRef

  21. object RequestKeys extends AnyRef

  22. object StopReplicaRequest extends Logging with Serializable

  23. object StopReplicaResponse extends Serializable

  24. object TopicData extends Serializable

  25. object TopicMetadata extends Serializable

  26. object TopicMetadataRequest extends Logging with Serializable

  27. object TopicMetadataResponse extends Serializable

  28. object UpdateMetadataRequest extends Serializable

  29. object UpdateMetadataResponse extends Serializable