ServiceNodeOptions
The tuning of a ServiceNode (names the host's keys for them).
cluster: partition ownership and the cluster channel; routing: where commands run.
wait: the waits (WaitOptions); its default timeout is that of every command whose request names none, whichever edge it came through, capped by its maximum. ServiceNode.stop also waits at most that maximum for the waits registered on the node to end: none of them outlives it.
subscription: the subscriptions of every context, the built-in ones included, with the starts the host configures for some of them (SubscriptionOptions.starts): a name no subscription of the node has fails its assembly.
appendQueue: the partition append queue, on by default.
executor: how the node's executors take commands (ExecutorOptions): each aggregate's lane, its batches, and the commands in flight on the node.
stateCache: what each context's state cache keeps between commands (StateCacheOptions).
sharedStates: the bounds of each context's shared states, shared by its state consumers.
timers: the timer runner of each context that has a timer store.
schedules: the host's settings of each job, by job name (
wow.schedules.<job>.*): its rule, and the retries of the subscriptions that run it; a name no@OnSchedulehandler of the node runs fails its assembly, and so does subscription configuring a job's subscription by its name.snapshots: the snapshot maintenance of each context: how often it claims the state revisions, rebuilds in place and checks the backfills, and the bounds of a rebuild.
topicRouted: the aggregate types whose commands the topic router takes: an admitted command of one of them is written to its context's command topic, accepted once the broker acknowledged it, and executed by the owner of its log partition from there. Each must be a type the node serves, the node needs a producer (SourceTopics.producer), and each of their contexts takes the commands of its command topic whether or not SourceTopics.intake is set. None by default.
handoff: the bounds of the hand-over of the node's own commits to its subscriptions' tails in memory (HandoffOptions).
access: how each context's built-in subscription
wow.accessstamps the access attributes over a history (AccessStampOptions).ledger: where the node publishes its failure ledger: the ops context whose
parkedaggregate records each entry, through its command topic, which needs a producer (SourceTopics.producer). Not published by default.
Fields may be added: Wow builds it from the host's configuration, so the constructor is internal to Wow.
Constructors
Properties
The snapshot maintenance of each context: claims, in-place rebuilds, backfills.
Functions
This ServiceNodeOptions with the given fields replaced: Wow's own copy, left out of the ABI.