OxL Справочник OxL
РусскийEnglish

error cluster-decl

error Стандарт: [§12.1]

Неверное объявление cluster.

What it means#

A program has at most one cluster; role names are unique; serves names services (not extern service); port, trace_sample (a ratio 0.0..=1.0, the default trace sampling; --trace-sample/OXL_TRACE_SAMPLE override it), defaults, assign by appear once and auto is last in assign by; defaults knows timeout, drain, idempotency_ttl and topic_retention (positive durations); roles use serves, hosts (sharded actors), runs (sagas, leader("name")), journal, shards, replication, replicas (n, a..b, a..), needs and expose; expose takes a port and tls(cert:, key:) or tls(acme:).

Example#

oxl✓ проверяется в CI
cluster a { role all { } }
cluster b { role all { } }   // <- cluster-decl
error
cluster-decl

How to fix#

Merge the declarations or fix the role names.

See also#

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства