MkConsumer

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.

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

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