TransactionalKafkaProducer

Companion:
class
class Object
trait Matchable
class Any

Type members

Classlikes

abstract class Metrics[F[_], K, V] extends TransactionalKafkaProducer[F, K, V]

TransactionalKafkaProducer.Metrics extends TransactionalKafkaProducer to provide access to the underlying producer metrics.

TransactionalKafkaProducer.Metrics extends TransactionalKafkaProducer to provide access to the underlying producer metrics.

abstract class WithoutOffsets[F[_], K, V] extends Metrics[F, K, V]

TransactionalKafkaProducer.WithoutOffsets extends TransactionalKafkaProducer.Metrics to allow producing of records without corresponding upstream offsets.

TransactionalKafkaProducer.WithoutOffsets extends TransactionalKafkaProducer.Metrics to allow producing of records without corresponding upstream offsets.

Value members

Concrete methods

def apply[F[_]]: TransactionalProducerPartiallyApplied[F]
def resource[F[_], K, V](settings: TransactionalProducerSettings[F, K, V])(implicit F: Async[F], mk: MkProducer[F]): Resource[F, WithoutOffsets[F, K, V]]

Creates a new TransactionalKafkaProducer in the Resource context, using the specified TransactionalProducerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

Creates a new TransactionalKafkaProducer in the Resource context, using the specified TransactionalProducerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

TransactionalKafkaProducer.resource[F].using(settings)
def stream[F[_], K, V](settings: TransactionalProducerSettings[F, K, V])(implicit F: Async[F], mk: MkProducer[F]): Stream[F, WithoutOffsets[F, K, V]]

Creates a new TransactionalKafkaProducer in the Stream context, using the specified TransactionalProducerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

Creates a new TransactionalKafkaProducer in the Stream context, using the specified TransactionalProducerSettings. Note that there is another version where F[_] is specified explicitly and the key and value type can be inferred, which allows you to use the following syntax.

TransactionalKafkaProducer.stream[F].using(settings)