Zum Inhalt springen
Deutsch

bootstrapCluster

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

bootstrapCluster(opts): Promise<BootstrappedCluster>

Defined in: src/cluster/ClusterBootstrap.ts:137

One-call setup for a clustered ActorSystem. Designed for the 90 % case — defaults wire transport, discovery, receptionist and signal-based shutdown so the call site reads as a single line. Power users keep ActorSystem.create() + Cluster.join() for full control.

See the ClusterBootstrapOptions doc for what each field controls and which env vars steer the defaults.

ClusterBootstrapOptions

Promise<BootstrappedCluster>