DistributedPubSubSettings

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
class Object
trait Matchable
class Any

Members list

Value members

Deprecated constructors

def this(role: Option[String], routingLogic: RoutingLogic, gossipInterval: FiniteDuration, removedTimeToLive: FiniteDuration, maxDeltaElements: Int)

Attributes

Deprecated
true
Source
DistributedPubSubMediator.scala