TransactionalKafkaProducer

Companion
class
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])(F: ConcurrentEffect[F], context: ContextShift[F]): Resource[F, TransactionalKafkaProducer[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])(F: ConcurrentEffect[F], context: ContextShift[F]): Stream[F, TransactionalKafkaProducer[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)

Deprecated methods

@deprecated("use TransactionalKafkaProducer[F].resource(settings)", "1.5.0")
def resource[F[_]](F: ConcurrentEffect[F]): TransactionalProducerResource[F]

Alternative version of TransactionalKafkaProducer.resource where the F[_] is specified explicitly, and where the key and value type can be inferred from the TransactionalProducerSettings. This allows you to use the following syntax.

Alternative version of TransactionalKafkaProducer.resource where the F[_] is specified explicitly, and where the key and value type can be inferred from the TransactionalProducerSettings. This allows you to use the following syntax.

TransactionalKafkaProducer.resource[F].using(settings)
Deprecated
@deprecated("use TransactionalKafkaProducer[F].stream(settings)", "1.5.0")
def stream[F[_]](F: ConcurrentEffect[F]): TransactionalProducerStream[F]

Alternative version of TransactionalKafkaProducer.stream where the F[_] is specified explicitly, and where the key and value type can be inferred from the TransactionalProducerSettings. This allows you to use the following syntax.

Alternative version of TransactionalKafkaProducer.stream where the F[_] is specified explicitly, and where the key and value type can be inferred from the TransactionalProducerSettings. This allows you to use the following syntax.

TransactionalKafkaProducer.stream[F].using(settings)
Deprecated