TransactionalKafkaProducer

fs2.kafka.TransactionalKafkaProducer
See theTransactionalKafkaProducer companion class

Attributes

Companion
class
Source
TransactionalKafkaProducer.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

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.

Attributes

Source
TransactionalKafkaProducer.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class WithoutOffsets[F, K, V]
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.

Attributes

Source
TransactionalKafkaProducer.scala
Supertypes
class Metrics[F, K, V]
class Object
trait Matchable
class Any

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.

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)

Attributes

Source
TransactionalKafkaProducer.scala
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.

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)

Attributes

Source
TransactionalKafkaProducer.scala