MkConsumer

fs2.kafka.consumer.MkConsumer
See theMkConsumer companion object
trait MkConsumer[F[_]]

A capability trait representing the ability to instantiate the Java Consumer that underlies the fs2-kafka KafkaConsumer. This is needed in order to instantiate fs2.kafka.KafkaConsumer.

By default, the instance provided by MkConsumer.mkConsumerForSync will be used. However this behaviour can be overridden, e.g. for testing purposes, by placing an alternative implicit instance in lexical scope.

Attributes

Companion
object
Source
MkConsumer.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def apply[G[_]](settings: ConsumerSettings[G, _, _]): F[KafkaByteConsumer]

Attributes

Source
MkConsumer.scala