TransactionalProducerStream
TransactionalProducerStream provides support for inferring
the key and value type from TransactionalProducerSettings
when using TransactionalKafkaProducer.stream
with the following syntax.
TransactionalProducerStream provides support for inferring
the key and value type from TransactionalProducerSettings
when using TransactionalKafkaProducer.stream
with the following syntax.
TransactionalKafkaProducer.stream[F].using(settings)
class AnyVal
trait Matchable
class Any
Value members
Concrete methods
def using[K, V](settings: TransactionalProducerSettings[F, K, V])(context: ContextShift[F]): Stream[F, TransactionalKafkaProducer[F, K, V]]
Creates a new TransactionalKafkaProducer in the Stream
context.
This is equivalent to using TransactionalKafkaProducer.stream
directly,
except we're able to infer the key and value type.
Creates a new TransactionalKafkaProducer in the Stream
context.
This is equivalent to using TransactionalKafkaProducer.stream
directly,
except we're able to infer the key and value type.