DistributedPubSubOptionsType
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
DistributedPubSubOptionsType =
object
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:15
Plain options-object shape consumed by a DistributedPubSubMediator.
Properties
Section titled “Properties”cluster
Section titled “cluster”
readonlycluster:Cluster
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:16
gossipIntervalMs?
Section titled “gossipIntervalMs?”
readonlyoptionalgossipIntervalMs?:number
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:17
maxRemoteNodesPerTopic?
Section titled “maxRemoteNodesPerTopic?”
readonlyoptionalmaxRemoteNodesPerTopic?:number
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:29
Most remote nodes that may claim subscribers for a single topic.
maxSubscribersPerTopic?
Section titled “maxSubscribersPerTopic?”
readonlyoptionalmaxSubscribersPerTopic?:number
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:22
Most local subscribers one topic may hold. A Subscribe beyond it is
answered with SubscribeRejected instead of growing the set.
maxTopics?
Section titled “maxTopics?”
readonlyoptionalmaxTopics?:number
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:27
Most distinct topics this mediator may track. Bounds both axes a peer
can push on: local Subscribe messages and gossiped topic names.
sendToDeadLettersWhenNoSubscribers?
Section titled “sendToDeadLettersWhenNoSubscribers?”
readonlyoptionalsendToDeadLettersWhenNoSubscribers?:boolean
Defined in: src/cluster/pubsub/DistributedPubSubOptions.ts:35
Route a Publish that reached nobody to system.deadLetters instead of
discarding it. On by default — an unrouted publish is a bug worth
seeing, and dead letters are the framework’s channel for exactly that.
