object KafkaConsumer
- Alphabetic
- By Inheritance
- KafkaConsumer
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply[F[_]]: ConsumerPartiallyApplied[F]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 resource[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: ConcurrentEffect[F], context: ContextShift[F], timer: Timer[F]): Resource[F, KafkaConsumer[F, K, V]]
Creates a new KafkaConsumer in the
Resourcecontext, using the specified ConsumerSettings.Creates a new KafkaConsumer in the
Resourcecontext, using the specified ConsumerSettings. Note that there is another version whereF[_]is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.KafkaConsumer.resource[F].using(settings)
- def stream[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: ConcurrentEffect[F], context: ContextShift[F], timer: Timer[F]): Stream[F, KafkaConsumer[F, K, V]]
Creates a new KafkaConsumer in the
Streamcontext, using the specified ConsumerSettings.Creates a new KafkaConsumer in the
Streamcontext, using the specified ConsumerSettings. Note that there is another version whereF[_]is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.KafkaConsumer.stream[F].using(settings)
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def consumerResource[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: ConcurrentEffect[F], context: ContextShift[F], timer: Timer[F]): Resource[F, KafkaConsumer[F, K, V]]
- Annotations
- @deprecated
- Deprecated
(Since version 1.2.0) use KafkaConsumer.resource
- def resource[F[_]](implicit F: ConcurrentEffect[F]): ConsumerResource[F]
Alternative version of
resourcewhere theF[_]is specified explicitly, and where the key and value type can be inferred from the ConsumerSettings.Alternative version of
resourcewhere theF[_]is specified explicitly, and where the key and value type can be inferred from the ConsumerSettings. This allows you to use the following syntax.KafkaConsumer.resource[F].using(settings)
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) use KafkaConsumer[F].resource(settings)
- def stream[F[_]](implicit F: ConcurrentEffect[F]): ConsumerStream[F]
Alternative version of
streamwhere theF[_]is specified explicitly, and where the key and value type can be inferred from the ConsumerSettings.Alternative version of
streamwhere theF[_]is specified explicitly, and where the key and value type can be inferred from the ConsumerSettings. This allows you to use the following syntax.KafkaConsumer.stream[F].using(settings)
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) use KafkaConsumer[F].stream(settings)