Package

spinoco.protocol

kafka

Permalink

package kafka

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

Type Members

  1. case class Broker(nodeId: @@[Int, Broker], host: String, port: Int) extends Product with Serializable

    Permalink

    Broker data

    Broker data

    nodeId

    Id of the broker

    host

    Host (ip address) of the broker as defined in broker configuration

    port

    Port the broker accepts new connections at

  2. sealed trait Message extends AnyRef

    Permalink
  3. sealed trait Offset extends AnyRef

    Permalink
  4. sealed trait PartitionId extends AnyRef

    Permalink
  5. case class PartitionMetadata(error: Option[ErrorType.Value], id: @@[Int, PartitionId], leader: Option[@@[Int, Broker]], replicas: Vector[@@[Int, Broker]], isr: Vector[@@[Int, Broker]]) extends Product with Serializable

    Permalink

    Single partition metadata

    Single partition metadata

    error

    If present, metadata query failed for this partition, or partition is in erroneous state

    id

    Id of the partition

    leader

    Elected leader

    replicas

    All available replicas

    isr

    All in sync replicas

  6. sealed trait Request extends AnyRef

    Permalink

    Request for Kafka Broker

  7. case class RequestMessage(version: ProtocolVersion.Value, correlationId: Int, clientId: String, request: Request) extends Product with Serializable

    Permalink

    Request to kafka

    Request to kafka

    version

    Version of the broker

    correlationId

    User specified correlation id to match request/response

    clientId

    Id of the client for debugging purposes

    request

    Actual request to make

  8. trait Response extends AnyRef

    Permalink

    Response for Kafka Broker

  9. case class ResponseMessage(correlationId: Int, response: Response) extends Product with Serializable

    Permalink

    Reponse from kafka broker

    Reponse from kafka broker

    correlationId

    Correlation id as presented in request

    response

    Response received from kafka

  10. sealed trait TimeData extends AnyRef

    Permalink
  11. case class TopicMetadata(error: Option[ErrorType.Value], name: @@[String, TopicName], partitions: Vector[PartitionMetadata]) extends Product with Serializable

    Permalink

    Metadata for supplied topic

    Metadata for supplied topic

    error

    If present there was a failure to query metadata, or topic is in erroneous state

    name

    Name of the topic

    partitions

    metadata of the partitions

  12. sealed trait TopicName extends AnyRef

    Permalink

Value Members

  1. object ApiKey extends Enumeration

    Permalink
  2. object Compression extends Enumeration

    Permalink
  3. object ErrorType extends Enumeration

    Permalink

    Created by pach on 17/07/16.

  4. object Message

    Permalink
  5. object MessageVersion extends Enumeration

    Permalink
  6. object ProtocolVersion extends Enumeration

    Permalink

    Versions of kafka for protocol compatibility

  7. object Request

    Permalink
  8. object Response

    Permalink
  9. object TimeData

    Permalink
  10. package codec

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped