org.apache.pekko.stream.connectors.ironmq.IronMqSettings
ConsumerSettings
Companion object ConsumerSettings
final class ConsumerSettings extends AnyRef
- Source
- IronMqSettings.scala
- Alphabetic
- By Inheritance
- ConsumerSettings
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- val bufferMaxSize: Int
- val bufferMinSize: Int
- val fetchInterval: FiniteDuration
- val pollTimeout: FiniteDuration
- val reservationTimeout: FiniteDuration
- def toString(): String
- Definition Classes
- ConsumerSettings → AnyRef → Any
- def withBufferMaxSize(value: Int): ConsumerSettings
The maximum number of buffered messages.
- def withBufferMinSize(value: Int): ConsumerSettings
The buffer size limit where a new batch of message will be consumed from the queue.
- def withFetchInterval(value: Duration): ConsumerSettings
Java API: The interval of time between each poll loop.
- def withFetchInterval(value: FiniteDuration): ConsumerSettings
Scala API: The interval of time between each poll loop.
- def withPollTimeout(value: Duration): ConsumerSettings
Java API: The amount of time the consumer will wait for the messages to be available on the queue.
Java API: The amount of time the consumer will wait for the messages to be available on the queue. The IronMQ time unit is the second so any other value is approximated to the second.
- def withPollTimeout(value: FiniteDuration): ConsumerSettings
Scala API: The amount of time the consumer will wait for the messages to be available on the queue.
Scala API: The amount of time the consumer will wait for the messages to be available on the queue. The IronMQ time unit is the second so any other value is approximated to the second.
- def withReservationTimeout(value: Duration): ConsumerSettings
Java API: The amount of time the consumer will reserve the message from.
Java API: The amount of time the consumer will reserve the message from. It should be higher that the time needed to process the message otherwise the same message will be processed multiple times. Again the IronMq time unit is the second.
- def withReservationTimeout(value: FiniteDuration): ConsumerSettings
Scala API: The amount of time the consumer will reserve the message from.
Scala API: The amount of time the consumer will reserve the message from. It should be higher that the time needed to process the message otherwise the same message will be processed multiple times. Again the IronMq time unit is the second.