Producer

dev.profunktor.pulsar.Producer
See theProducer companion object
trait Producer[F[_], E]

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

Returns the last sequence ID (mainly used for deduplication).

Returns the last sequence ID (mainly used for deduplication).

Attributes

def send(msg: E): F[MessageId]

Sends a message asynchronously.

Sends a message asynchronously.

Attributes

def send(msg: E, properties: Map[String, String]): F[MessageId]

Sends a message associated with a set of properties asynchronously.

Sends a message associated with a set of properties asynchronously.

Attributes

def send(msg: E, tx: Tx): F[MessageId]

Sends a message asynchronously within a transaction.

Sends a message asynchronously within a transaction.

Attributes

def send(msg: E, properties: Map[String, String], tx: Tx): F[MessageId]

Sends a message associated with a set of properties asynchronously within a transaction.

Sends a message associated with a set of properties asynchronously within a transaction.

Attributes

def send_(msg: E): F[Unit]

Same as send but it discards its output.

Same as send but it discards its output.

Attributes

def send_(msg: E, properties: Map[String, String]): F[Unit]

Same as send(msg:E,properties:Map[String, String]) but it discards its output.

Same as send(msg:E,properties:Map[String, String]) but it discards its output.

Attributes

def send_(msg: E, tx: Tx): F[Unit]

Same as send but it discards its output.

Same as send but it discards its output.

Attributes

def send_(msg: E, properties: Map[String, String], tx: Tx): F[Unit]

Same as send(msg:E,properties:Map[String, String]) but it discards its output.

Same as send(msg:E,properties:Map[String, String]) but it discards its output.

Attributes

def stats: F[ProducerStats]

Returns the ProducerStats synchronously (blocking call).

Returns the ProducerStats synchronously (blocking call).

Attributes