class ConsumerOptions extends Object
Consumer Options
- Annotations
- @RawJSType() @ScalaJSDefined()
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsumerOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ConsumerOptions(groupId: UndefOr[String] = js.undefined, autoCommit: UndefOr[Boolean] = js.undefined, autoCommitIntervalMs: UndefOr[Int] = js.undefined, fetchMaxWaitMs: UndefOr[Int] = js.undefined, fetchMinBytes: UndefOr[Int] = js.undefined, fetchMaxBytes: UndefOr[Int] = js.undefined, fromOffset: UndefOr[Long] = js.undefined, encoding: UndefOr[String] = js.undefined)
- groupId
consumer group id, deafult
kafka-node-group
- autoCommit
Auto commit config
- autoCommitIntervalMs
The max wait time is the maximum amount of time in milliseconds to block waiting if insufficient data is available at the time the request is issued, default 100ms
- fetchMaxWaitMs
This is the minimum number of bytes of messages that must be available to give a response, default 1 byte.
- fetchMinBytes
The maximum bytes to include in the message set for this partition. This helps bound the size of the response.
- fetchMaxBytes
If set true, consumer will fetch message from the given offset in the payloads.
- fromOffset
The starting offset
- encoding
If set to 'buffer', values will be returned as raw buffer objects.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- var autoCommit: UndefOr[Boolean]
- var autoCommitIntervalMs: UndefOr[Int]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- var encoding: UndefOr[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var fetchMaxBytes: UndefOr[Int]
- var fetchMaxWaitMs: UndefOr[Int]
- var fetchMinBytes: UndefOr[Int]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- var fromOffset: UndefOr[Long]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- var groupId: UndefOr[String]
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )