fs2.kafka.producer

Type members

Classlikes

trait MkProducer[F[_]]

A capability trait representing the ability to instantiate the Java Producer that underlies the fs2-kafka KafkaProducer. This is needed in order to instantiate fs2.kafka.KafkaProducer and fs2.kafka.TransactionalKafkaProducer.

A capability trait representing the ability to instantiate the Java Producer that underlies the fs2-kafka KafkaProducer. This is needed in order to instantiate fs2.kafka.KafkaProducer and fs2.kafka.TransactionalKafkaProducer.

By default, the instance provided by MkProducer.mkProducerForSync 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
object MkProducer
Companion:
class