Object/Trait

spinoco.protocol.kafka

Response

Related Docs: trait Response | package kafka

Permalink

object Response

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

Type Members

  1. case class FetchResponse(data: Vector[(@@[String, TopicName], Vector[PartitionFetchResult])], throttleTime: Option[FiniteDuration]) extends Response with Product with Serializable

    Permalink

    Response to spinoco.protocol.kafka.Request.FetchRequest

    data

    Contains data of messages fetched

    throttleTime

    If the request was throttled, this contains time how long it was throttled (since kafka 0.9.0)

  2. case class MetadataResponse(brokers: Vector[Broker], topics: Vector[TopicMetadata]) extends Response with Product with Serializable

    Permalink

    Response to spinoco.protocol.kafka.Request.MetadataRequest

    brokers

    All brokers known

    topics

    All topics known

  3. case class OffsetResponse(data: Vector[(@@[String, TopicName], Vector[PartitionOffsetResponse])]) extends Response with Product with Serializable

    Permalink

    Response to the offset query.

    Response to the offset query. Response for topic queries by client

    data

    Data containing reposne to offset query

  4. case class PartitionFetchResult(partitionId: @@[Int, PartitionId], error: Option[ErrorType.Value], highWMOffset: @@[Long, Offset], messages: Vector[Message]) extends Product with Serializable

    Permalink

    Contains fetch result for given partition

    Contains fetch result for given partition

    partitionId

    Id of partition

    error

    If nonempty, fetch resulted in error

    highWMOffset

    The offset at the end of the log for this partition. This can be used by the client to determine how many messages behind the end of the log they are.

    messages

    Messages fetched.

  5. case class PartitionOffsetResponse(partitionId: @@[Int, PartitionId], error: Option[ErrorType.Value], timestamp: Date, offsets: Vector[@@[Long, Offset]]) extends Product with Serializable

    Permalink

    Reposne data for Offset query for an partition

    Reposne data for Offset query for an partition

    partitionId

    Id of partition

    error

    If nonempty, reposne failed

    timestamp

    If query contained a timestamp, this will indicate offset for given timestamp. 0 in case of protocolV9

    offsets

    Offsets of chunks for given partition

  6. case class PartitionProduceResult(error: Option[ErrorType.Value], offset: @@[Long, Offset], time: Option[Date]) extends Product with Serializable

    Permalink

    Contains result of the produce for single partition

    Contains result of the produce for single partition

    error

    If nonempty, produce failed

    offset

    Contains offset of first published message

    time

    If LogAppendTime is used for the topic, this is the timestamp assigned by the broker to the message set. All the messages in the message set have the same timestamp. If CreateTime is used, this field is always None. The producer can assume the timestamp of the messages in the produce request has been accepted by the broker if there is no error code returned. Unit is milliseconds since beginning of the epoch (midnight Jan 1, 1970 (UTC)). Available since kafka 0.10.0

  7. case class ProduceResponse(data: Vector[(@@[String, TopicName], Vector[(@@[Int, PartitionId], PartitionProduceResult)])], throttleTime: Option[FiniteDuration]) extends Response with Product with Serializable

    Permalink

    Response to spinoco.protocol.kafka.Request.ProduceRequest Contains map per topic and partition.

    Response to spinoco.protocol.kafka.Request.ProduceRequest Contains map per topic and partition.

    data

    Contains result of each produce response. Not guaranteed to be in same order as request.

    throttleTime

    If the request was throttled, this contains time how long it was throttled (since kafka 0.9.0)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  11. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  12. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  13. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  14. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  16. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped