implicit final class ConsumerExtensions extends AnyVal
Consumer Extensions
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ConsumerExtensions
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- All
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
Consumer.addTopics()
-
def
addTopicsAsync(topics: String, fromOffset: Boolean): Promise[Any]
- See also
Consumer.addTopics()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
closeAsync: Promise[Any]
- See also
Consumer.close()
-
def
commitAsync[T <: Any]: Promise[T]
- See also
Consumer.commit()
- val consumer: Consumer
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
onError(callback: Function): Consumer
- See also
Consumer.on()
-
def
onMessage(callback: Function): Consumer
- See also
Consumer.on()
-
def
onOffsetOutOfRange(callback: Function): Consumer
on('offsetOutOfRange', function (err) {})
- See also
Consumer.on()
Example: -
def
removeTopicsAsync(topics: Array[String]): Promise[Boolean]
- See also
Consumer.removeTopics()
-
def
toString(): String
- Definition Classes
- Any