Class

io.scalajs.npm.kafkanode

Client

Related Doc: package kafkanode

Permalink

class Client extends Object with IEventEmitter

Kafka-Node Client

Annotations
@RawJSType() @native() @JSImport( "kafka-node" , "Client" )
Example:
  1. new Client(connectionString, clientId, [zkOptions], [noAckBatchOptions])

Linear Supertypes
IEventEmitter, Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Client
  2. IEventEmitter
  3. Object
  4. Any
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Client()

    Permalink
  2. new Client(connectionString: String, clientId: String = js.native, zkOptions: |[ClientOptions, RawOptions] = js.native, noAckBatchOptions: |[NoAckBatchOptions, RawOptions] = js.native)

    Permalink

    connectionString

    Zookeeper connection string, default localhost:2181/

    clientId

    This is a user-supplied identifier for the client application, default kafka-node-client

    zkOptions

    Zookeeper options, see node-zookeeper-client

    noAckBatchOptions

    when requireAcks is disabled on Producer side we can define the batch properties

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. def addListener(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close(callback: Function = js.native): Unit

    Permalink

    Closes the connection to Zookeeper and the brokers so that the node process can exit gracefully.

    Closes the connection to Zookeeper and the brokers so that the node process can exit gracefully.

    callback

    the callback

  8. var domain: String

    Permalink
    Definition Classes
    IEventEmitter
  9. def emit(name: String, args: Any*): Any

    Permalink
    Definition Classes
    IEventEmitter
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getMaxListeners(): Int

    Permalink
    Definition Classes
    IEventEmitter
  15. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  16. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  19. def listenerCount(eventName: String): Int

    Permalink
    Definition Classes
    IEventEmitter
  20. def listeners(eventName: String): Array[Function]

    Permalink
    Definition Classes
    IEventEmitter
  21. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  24. def on(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  25. def once(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  26. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  27. def removeAllListeners(): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  28. def removeAllListeners(eventName: String): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  29. def removeListener(eventName: String, listener: Function): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  30. def setMaxListeners(n: Int): Client.this.type

    Permalink
    Definition Classes
    IEventEmitter
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. var usingDomains: Boolean

    Permalink
    Definition Classes
    IEventEmitter
  35. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  36. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. def zk: ZookeeperClientWrapper

    Permalink

    Undocumented property

Inherited from IEventEmitter

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped