class RichKafkaConsumer[K, V] extends AutoCloseable with StrictLogging
A means of driving a kafka-stream using the consumer (not kafka streaming) API
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RichKafkaConsumer
- StrictLogging
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new RichKafkaConsumer(consumer: KafkaConsumer[K, V], topic: String, defaultPollTimeout: Duration)
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
- def asObservable: Observable[ConsumerRecord[K, V]]
- def assignmentPartitions: List[Int]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
close(): Unit
- Definition Classes
- RichKafkaConsumer → AutoCloseable
- def committed(partition: Int): OffsetAndMetadata
- val defaultPollTimeout: Duration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
logger: Logger
- Attributes
- protected
- Definition Classes
- StrictLogging
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def partitions: List[PartitionInfo]
- def partitionsByTopic(): Map[Key, List[PartitionInfo]]
- def poll(timeout: Duration = javaPollDuration): Iterable[ConsumerRecord[K, V]]
- def positionFor(partition: Int): Long
- def seekToBeginning(partition: Int): Boolean
- def status(verbose: Boolean): String
- def subscribe(topic: String, listener: ConsumerRebalanceListener = RebalanceListener): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val topic: String
-
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( ... ) @native()