← ZIO SQS docs

ProducerSettings

zio.sqs.producer.ProducerSettings
final case class ProducerSettings(batchSize: Int = ..., duration: Duration = ..., parallelism: Int = ..., retryDelay: Duration = ..., retryMaxCount: Int = ...)

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
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala