class ConsumerGroupOptions extends Object
Consumer Group Options
- Annotations
- @RawJSType() @ScalaJSDefined()
- Alphabetic
- By Inheritance
- ConsumerGroupOptions
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
ConsumerGroupOptions(batch: UndefOr[String] = js.undefined, fromOffset: UndefOr[String] = js.undefined, host: UndefOr[String] = js.undefined, groupId: UndefOr[String] = js.undefined, outOfRangeOffset: UndefOr[|[String, Array[String]]] = js.undefined, migrateHLC: UndefOr[Boolean] = js.undefined, migrateRolling: UndefOr[Boolean] = js.undefined, protocol: UndefOr[Array[String]] = js.undefined, sessionTimeout: UndefOr[Int] = js.undefined, ssl: UndefOr[Boolean] = js.undefined, zk: UndefOr[RawOptions] = js.undefined)
- batch
put client batch settings if you need them (see Client)
- fromOffset
Offsets to use for new groups other options could be 'earliest' or 'none' (none will emit an error if no offsets were saved) equivalent to Java client's auto.offset.reset
- host
the Zookeeper host(s) (e.g. 'zookeeper:2181')
- groupId
e.g. 'ExampleTestGroup'
- outOfRangeOffset
how to recover from OutOfRangeOffset error (where save offset is past server retention) accepts same value as fromOffset
- migrateHLC
for details please see Migration section below
- migrateRolling
true or false
- protocol
An array of partition assignment protocols ordered by preference. 'roundrobin' or 'range' string for built ins (see below to pass in custom assignment protocol)
- sessionTimeout
e.g. 15000
- ssl
optional (defaults to false) or tls options hash
- zk
put client zk settings if you need them (see Client)
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 batch: UndefOr[String]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- var fromOffset: UndefOr[String]
-
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
- var host: UndefOr[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
- var migrateHLC: UndefOr[Boolean]
- var migrateRolling: UndefOr[Boolean]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- var outOfRangeOffset: UndefOr[|[String, Array[String]]]
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- var protocol: UndefOr[Array[String]]
- var sessionTimeout: UndefOr[Int]
- var ssl: UndefOr[Boolean]
-
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( ... )
- var zk: UndefOr[RawOptions]