kw needs
Contextual keyword — cluster declaration (§12.1)
The list of words: §1.4
Syntax
RoleClause = "serves" IdentList | "hosts" IdentList | "runs" ( "sagas" | "leader" "(" StrLit ")" )
| "journal" | "shards" IntLit | "replication" IntLit | "replicas" Expr
| "needs" Expr | "expose" IntLit { Expr } ;Grammar: App. A
Defined in
- 12.1 Cluster declaration — A program has at most one cluster.
- 1.4 Keywords — Reserved (cannot be used as names)
- 12.2 Membership and roles — A node finds seed nodes and joins the membership (SWIM protocol).
Related diagnostics
actor-not-hosted, cluster-auth, cluster-decl, cluster-needs, cluster-seeds, placement-conflict, saga-without-role, service-not-served, topic-without-journal, unknown-role