KafkaProducerConnection

fs2.kafka.KafkaProducerConnection
See theKafkaProducerConnection companion class

Attributes

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

Members list

Value members

Concrete methods

def resource[F[_]](settings: ProducerSettings[F, _, _])(implicit F: Async[F], mk: MkProducer[F]): Resource[F, KafkaProducerConnection[F]]

Creates a new KafkaProducerConnection in the Resource context, using the specified ProducerSettings.

Creates a new KafkaProducerConnection in the Resource context, using the specified ProducerSettings.

KafkaProducerConnection.resource[F](settings)

Attributes

Source
KafkaProducerConnection.scala
def resourceIn[F[_], G[_]](settings: ProducerSettings[G, _, _])(implicit F: Async[F], G: Async[G], mk: MkProducer[F]): Resource[F, KafkaProducerConnection[G]]

Like resource, but allows use of different effect types for the allocating Resource and the allocated KafkaProducerConnection.

Like resource, but allows use of different effect types for the allocating Resource and the allocated KafkaProducerConnection.

Attributes

Source
KafkaProducerConnection.scala
def stream[F[_]](settings: ProducerSettings[F, _, _])(implicit F: Async[F], mk: MkProducer[F]): Stream[F, KafkaProducerConnection[F]]

Creates a new KafkaProducerConnection in the Stream context, using the specified ProducerSettings.

Creates a new KafkaProducerConnection in the Stream context, using the specified ProducerSettings.

KafkaProducerConnection.stream[F](settings)

Attributes

Source
KafkaProducerConnection.scala
def streamIn[F[_], G[_]](settings: ProducerSettings[G, _, _])(implicit F: Async[F], G: Async[G], mk: MkProducer[F]): Stream[F, KafkaProducerConnection[G]]

Like stream, but allows use of different effect types for the allocating Stream and the allocated KafkaProducerConnection.

Like stream, but allows use of different effect types for the allocating Stream and the allocated KafkaProducerConnection.

Attributes

Source
KafkaProducerConnection.scala