TransactionalProducerStream

final class TransactionalProducerStream[F[_]] extends AnyVal

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

override def toString: String
Definition Classes
Any
def using[K, V](settings: TransactionalProducerSettings[F, K, V])(implicit context: ContextShift[F]): Stream[F, Metrics[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.