kafka.network

SocketServer

class SocketServer extends Logging with KafkaMetricsGroup

An NIO socket server. The threading model is 1 Acceptor thread that handles new connections N Processor threads that each have their own selector and read requests from sockets M Handler threads that handle requests and produce responses back to the processor threads for writing.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SocketServer
  2. KafkaMetricsGroup
  3. Logging
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SocketServer(brokerId: Int, host: String, port: Int, numProcessorThreads: Int, maxQueuedRequests: Int, sendBufferSize: Int, recvBufferSize: Int, maxRequestSize: Int = scala.Int.MaxValue, maxConnectionsPerIp: Int = scala.Int.MaxValue, connectionsMaxIdleMs: Long, maxConnectionsPerIpOverrides: Map[String, Int])

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val brokerId: Int

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val connectionsMaxIdleMs: Long

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

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

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

    Definition Classes
    Logging
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

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

    Definition Classes
    Logging
  21. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  24. val host: String

  25. def info(msg: ⇒ String, e: ⇒ Throwable): Unit

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

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

    Definition Classes
    Logging
  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 maxConnectionsPerIp: Int

  33. val maxConnectionsPerIpOverrides: Map[String, Int]

  34. val maxQueuedRequests: Int

  35. val maxRequestSize: Int

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

    Definition Classes
    AnyRef
  37. def newGauge[T](name: String, metric: Gauge[T], tags: Map[String, String] = Map.empty): Gauge[T]

    Definition Classes
    KafkaMetricsGroup
  38. def newHistogram(name: String, biased: Boolean = true, tags: Map[String, String] = Map.empty): Histogram

    Definition Classes
    KafkaMetricsGroup
  39. def newMeter(name: String, eventType: String, timeUnit: TimeUnit, tags: Map[String, String] = Map.empty): Meter

    Definition Classes
    KafkaMetricsGroup
  40. def newTimer(name: String, durationUnit: TimeUnit, rateUnit: TimeUnit, tags: Map[String, String] = Map.empty): Timer

    Definition Classes
    KafkaMetricsGroup
  41. final def notify(): Unit

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

    Definition Classes
    AnyRef
  43. val numProcessorThreads: Int

  44. val port: Int

  45. val recvBufferSize: Int

  46. def removeMetric(name: String, tags: Map[String, String] = Map.empty): Unit

    Definition Classes
    KafkaMetricsGroup
  47. val requestChannel: RequestChannel

  48. val sendBufferSize: Int

  49. def shutdown(): Unit

    Shutdown the socket server

  50. def startup(): Unit

    Start the socket server

  51. def swallow(action: ⇒ Unit): Unit

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

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

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

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

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

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

    Definition Classes
    AnyRef
  58. def toString(): String

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

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

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

    Definition Classes
    Logging
  62. final def wait(): Unit

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

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

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

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

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

    Definition Classes
    Logging

Inherited from KafkaMetricsGroup

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped