ProducerSettings
zio.sqs.producer.ProducerSettings
Settings for the producer. Creating the settings with a batchSize above 10 throws a java.lang.IllegalArgumentException.
Value parameters
- batchSize
-
size of the batch to use. Up to 10 messages can be buffered and sent as a batch request.
- duration
-
time to wait for the batch to be full (have the specified batchSize).
- parallelism
-
number of concurrent requests to make to SQS.
- retryDelay
-
time to wait before retrying event republishing if it failed with a recoverable error.
- retryMaxCount
-
the maximum number of retries for an event that fails with a recoverable error (see ProducerError.isRecoverable).
Attributes
- Source
- ProducerSettings.scala
- Graph
-
- Supertypes
Members list
In this article