OptionalbackendOptionalblockMax time an inbox read waits for new messages (ms). Default 5000.
Connection to the datastore (Redis by default, see backend).
OptionalheartbeatDefault leaseDuration / 3, rounded down to at least 1 ms.
OptionalinboxMax number of unread messages kept in this node's inbox. When a slow node falls further behind, its oldest unread messages are dropped. Enforced on publish (Redis) and by safe inbox trimming. Default 10000.
OptionallagEmit 'lag' when this node has at least this many unread messages,
checked after inbox batches are read and on heartbeat. Must not exceed
inboxMaxLength.
Default inboxMaxLength / 2.
OptionalleaseHow long this node stays registered without a heartbeat (ms). After that, any node may sweep it with its subscriptions. Default 30000.
OptionalmaxMax serialized message size (bytes). Default 512 KiB.
OptionalnameHuman-readable name of this node (e.g. the service it belongs to), shown by dashboards. Up to 256 characters.
OptionalnamespaceIsolates relays sharing a datastore. Default default.
OptionalnodeUnique id of this node. Default: random.
OptionalprefixKey prefix (Redis only). Default bull.
OptionalskipOptionalsweepHow often this node sweeps expired nodes (ms). Default leaseDuration.
Datastore backend. Default: Redis.