org.apache.pekko.cluster.pubsub.DistributedPubSubSettings
See theDistributedPubSubSettings companion object
final class DistributedPubSubSettings(val role: Option[String], val routingLogic: RoutingLogic, val gossipInterval: FiniteDuration, val removedTimeToLive: FiniteDuration, val maxDeltaElements: Int, val sendToDeadLettersWhenNoSubscribers: Boolean) extends NoSerializationVerificationNeeded
Value parameters
- gossipInterval
-
How often the DistributedPubSubMediator should send out gossip information
- maxDeltaElements
-
Maximum number of elements to transfer in one message when synchronizing the registries. Next chunk will be transferred in next round of gossip.
- removedTimeToLive
-
Removed entries are pruned after this duration
- role
-
Start the mediator on members tagged with this role. All members are used if undefined.
- routingLogic
-
The routing logic to use for
Send. - sendToDeadLettersWhenNoSubscribers
-
When a message is published to a topic with no subscribers send it to the dead letters.
Attributes
- Companion
- object
- Source
- DistributedPubSubMediator.scala
- Graph
-
- Supertypes
Members list
In this article