kafka.api

FetchRequest

case class FetchRequest(versionId: Short = FetchRequest.CurrentVersion, correlationId: Int = FetchRequest.DefaultCorrelationId, clientId: String = ConsumerConfig.DefaultClientId, replicaId: Int = Request.OrdinaryConsumerId, maxWait: Int = FetchRequest.DefaultMaxWait, minBytes: Int = FetchRequest.DefaultMinBytes, requestInfo: Map[TopicAndPartition, PartitionFetchInfo]) extends RequestOrResponse with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, RequestOrResponse, Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. FetchRequest
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RequestOrResponse
  7. Logging
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new FetchRequest(correlationId: Int, clientId: String, maxWait: Int, minBytes: Int, requestInfo: Map[TopicAndPartition, PartitionFetchInfo])

    Public constructor for the clients

  2. new FetchRequest(versionId: Short = FetchRequest.CurrentVersion, correlationId: Int = FetchRequest.DefaultCorrelationId, clientId: String = ConsumerConfig.DefaultClientId, replicaId: Int = Request.OrdinaryConsumerId, maxWait: Int = FetchRequest.DefaultMaxWait, minBytes: Int = FetchRequest.DefaultMinBytes, requestInfo: Map[TopicAndPartition, PartitionFetchInfo])

Value Members

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

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

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

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

    Definition Classes
    Any
  5. val clientId: String

  6. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val correlationId: Int

  8. def debug(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  9. def debug(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  10. def debug(msg: ⇒ String): Unit

    Definition Classes
    Logging
  11. def describe(details: Boolean): String

    Definition Classes
    FetchRequestRequestOrResponse
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def error(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  14. def error(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  15. def error(msg: ⇒ String): Unit

    Definition Classes
    Logging
  16. def fatal(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  17. def fatal(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  18. def fatal(msg: ⇒ String): Unit

    Definition Classes
    Logging
  19. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  21. def handleError(e: Throwable, requestChannel: RequestChannel, request: network.RequestChannel.Request): Unit

    Definition Classes
    FetchRequestRequestOrResponse
  22. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  23. def info(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  24. def info(msg: ⇒ String): Unit

    Definition Classes
    Logging
  25. def isFromFollower: Boolean

  26. def isFromLowLevelConsumer: Boolean

  27. def isFromOrdinaryConsumer: Boolean

  28. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  29. var logIdent: String

    Attributes
    protected
    Definition Classes
    Logging
  30. lazy val logger: Logger

    Definition Classes
    Logging
  31. val loggerName: String

    Definition Classes
    Logging
  32. val maxWait: Int

  33. val minBytes: Int

  34. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  35. final def notify(): Unit

    Definition Classes
    AnyRef
  36. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  37. def numPartitions: Int

  38. val replicaId: Int

  39. val requestId: Option[Short]

    Definition Classes
    RequestOrResponse
  40. val requestInfo: Map[TopicAndPartition, PartitionFetchInfo]

  41. lazy val requestInfoGroupedByTopic: Map[String, Map[TopicAndPartition, PartitionFetchInfo]]

    Partitions the request info into a map of maps (one for each topic).

  42. def sizeInBytes: Int

    Definition Classes
    FetchRequestRequestOrResponse
  43. def swallow(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  44. def swallowDebug(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  45. def swallowError(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  46. def swallowInfo(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  47. def swallowTrace(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  48. def swallowWarn(action: ⇒ Unit): Unit

    Definition Classes
    Logging
  49. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  50. def toString(): String

    Definition Classes
    FetchRequest → AnyRef → Any
  51. def trace(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  52. def trace(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  53. def trace(msg: ⇒ String): Unit

    Definition Classes
    Logging
  54. val versionId: Short

  55. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  58. def warn(msg: ⇒ String, e: ⇒ Throwable): Unit

    Definition Classes
    Logging
  59. def warn(e: ⇒ Throwable): Any

    Definition Classes
    Logging
  60. def warn(msg: ⇒ String): Unit

    Definition Classes
    Logging
  61. def writeTo(buffer: ByteBuffer): Unit

    Definition Classes
    FetchRequestRequestOrResponse

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RequestOrResponse

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped