implicit final class HighLevelConsumerExtensions extends AnyVal
High Level Consumer Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- HighLevelConsumerExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
HighLevelConsumerExtensions(consumer: HighLevelConsumer)
- consumer
the given consumer
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
addTopicsAsync(topics: String): Promise[Any]
- See also
HighLevelConsumer.addTopics()
-
def
addTopicsAsync(topics: String, fromOffset: Boolean): Promise[Any]
- See also
HighLevelConsumer.addTopics()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
closeAsync(force: Boolean): Promise[Any]
- See also
HighLevelConsumer.close()
-
def
closeAsync: Promise[Any]
- See also
HighLevelConsumer.close()
-
def
commitAsync[T <: Any]: Promise[T]
- See also
HighLevelConsumer.commit()
- val consumer: HighLevelConsumer
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
onError(callback: Function): HighLevelConsumer
consumer.on('error', function (message) {})
- See also
HighLevelConsumer.on()
Example: -
def
onMessage(callback: Function): HighLevelConsumer
consumer.on('message', function (message) {})
- See also
HighLevelConsumer.on()
Example: -
def
onOffsetOutOfRange(callback: Function): HighLevelConsumer
on('offsetOutOfRange', function (err) {})
- See also
HighLevelConsumer.on()
Example: -
def
removeTopicsAsync(topics: Array[String]): Promise[Boolean]
- See also
HighLevelConsumer.removeTopics()
-
def
toString(): String
- Definition Classes
- Any