Producer

object Producer
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

object Batching
Companion
class
sealed
trait Batching
Companion
object
sealed abstract
class Settings[F[_], E]
Companion
object
object Settings

Producer options such as sharding key, batching, and message logger

Producer options such as sharding key, batching, and message logger

Companion
class

Value members

Concrete methods

def make[F[_] : Sync, E](client: T, topic: Single, messageEncoder: E => Array[Byte]): Resource[F, Producer[F, E]]

It creates a simple Producer with the supplied message encoder (schema support disabled).

It creates a simple Producer with the supplied message encoder (schema support disabled).

def make[F[_] : Sync, E](client: T, topic: Single, messageEncoder: E => Array[Byte], settings: Settings[F, E]): Resource[F, Producer[F, E]]

It creates a simple Producer with the supplied message encoder (schema support disabled) and settings.

It creates a simple Producer with the supplied message encoder (schema support disabled) and settings.

def make[F[_] : Sync, E](client: T, topic: Single, schema: Schema[E]): Resource[F, Producer[F, E]]

It creates a simple Producer with the supplied Pulsar schema.

It creates a simple Producer with the supplied Pulsar schema.

def make[F[_] : Sync, E](client: T, topic: Single, schema: Schema[E], settings: Settings[F, E]): Resource[F, Producer[F, E]]

It creates a simple Producer with the supplied Pulsar schema and settings

It creates a simple Producer with the supplied Pulsar schema and settings