final case class ProducerSettings(batchSize: Int = 10, duration: Duration = 500.millisecond, parallelism: Int = 16, retryDelay: Duration = 250.millisecond, retryMaxCount: Int = 10) extends Product with Serializable
Settings for the producer.
- 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 number of retries to make for a posted event.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ProducerSettings
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
ProducerSettings(batchSize: Int = 10, duration: Duration = 500.millisecond, parallelism: Int = 16, retryDelay: Duration = 250.millisecond, retryMaxCount: Int = 10)
- 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 number of retries to make for a posted event.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val batchSize: Int
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val duration: Duration
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val parallelism: Int
- val retryDelay: Duration
- val retryMaxCount: Int
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()