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
addTopicsFuture(topics: String): Future[Any]
- Annotations
- @inline()
- See also
Consumer.addTopics()
-
def
addTopicsFuture(topics: String, fromOffset: Boolean): Future[Any]
- Annotations
- @inline()
- See also
Consumer.addTopics()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
closeFuture: Future[Any]
- Annotations
- @inline()
- See also
Consumer.close()
-
def
commitFuture[T <: Any]: Future[T]
- Annotations
- @inline()
- 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: Function1[Error, Any]): consumer.type
- Annotations
- @inline()
- See also
Consumer.on()
-
def
onMessage(callback: Function): consumer.type
- Annotations
- @inline()
- See also
Consumer.on()
-
def
onOffsetOutOfRange(callback: Function): consumer.type
- Annotations
- @inline()
on('offsetOutOfRange', function (err) {})
- See also
Consumer.on()
Example: -
def
removeTopicsFuture(topics: Array[String]): Future[Boolean]
- Annotations
- @inline()
- See also
Consumer.removeTopics()
-
def
toString(): String
- Definition Classes
- Any