fs2.kafka.producer

Members list

Type members

Classlikes

object MkProducer

Attributes

Companion
trait
Source
MkProducer.scala
Supertypes
class Object
trait Matchable
class Any
Self type
MkProducer.type
trait MkProducer[F[_]]

A capability trait representing the ability to instantiate the Java Producer that underlies the fs2-kafka KafkaProducer.

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.

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.

Attributes

Companion
object
Source
MkProducer.scala
Supertypes
class Object
trait Matchable
class Any