KafkaProducerConnection

Companion:
class
class Object
trait Matchable
class Any

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)
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.

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)
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.