zio.sqs.producer.Producer
See theProducer companion trait
Attributes
- Companion
-
trait
- Source
-
Producer.scala
- Graph
-
- Supertypes
-
class Object
trait Matchable
class Any
- Self type
-
Members list
Instantiates a new producer.
Instantiates a new producer.
Type parameters
- T
-
type of the event to publish
Value parameters
- queueUrl
-
url of the queue to publish events. A queue URL can be obtained with zio.sqs.Utils.getQueueUrl.
- serializer
-
Serializer for the published event. If the published event is a string, zio.sqs.serialization.Serializer.serializeString can be used.
- settings
-
parameters used to instantiate the producer.
Attributes
- Returns
-
producer for publishing events. The producer's main background fiber is tied to the enclosing Scope. Retries run in daemon fibers.
- Source
-
Producer.scala