fs2.kafka.KafkaConsumer
See theKafkaConsumer companion class
object KafkaConsumer
Attributes
- Companion
- class
- Source
- KafkaConsumer.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
KafkaConsumer.type
Members list
Type members
Classlikes
final implicit class StreamOps[F[_], K, V](self: Stream[F, KafkaConsumer[F, K, V]])(implicit evidence$1: Functor[F])
Attributes
- Source
- KafkaConsumer.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
Attributes
- Source
- KafkaConsumer.scala
def resource[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: Async[F], mk: MkConsumer[F]): Resource[F, KafkaConsumer[F, K, V]]
Creates a new KafkaConsumer in the Resource
context, using the specified ConsumerSettings.
Creates a new KafkaConsumer in the Resource
context, using the specified ConsumerSettings. Note that there is another version where F[_]
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)
Attributes
- Source
- KafkaConsumer.scala
def stream[F[_], K, V](settings: ConsumerSettings[F, K, V])(implicit F: Async[F], mk: MkConsumer[F]): Stream[F, KafkaConsumer[F, K, V]]
Creates a new KafkaConsumer in the Stream
context, using the specified ConsumerSettings.
Creates a new KafkaConsumer in the Stream
context, using the specified ConsumerSettings. Note that there is another version where F[_]
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)
Attributes
- Source
- KafkaConsumer.scala
Implicits
Implicits
final implicit def StreamOps[F[_] : Functor, K, V](self: Stream[F, KafkaConsumer[F, K, V]]): StreamOps[F, K, V]
Attributes
- Source
- KafkaConsumer.scala
In this article