|
This version is still in development and is not considered stable yet. For the latest stable version, please use RIOT-X 1.15! |
Upgrading to 5.0
Version 5.0 introduces the riot distribution alongside riotx (see Installation).
Identifiers that used the riotx name now use riot; only the riotx distribution and its executable keep the riotx name.
Breaking changes
- Commands
-
sync2is renamedsync, andreplicateno longer acceptssyncas an alias. Scripts that ranriotx sync(meaningreplicate) orriotx sync2must be updated. riotdistribution-
riotnow ships only the reactive, Spring-free commands:sync,pubsub,diff(aliascompare),gen,statsandping. Their options differ from theriotxcommands of the same name (exceptsyncandpubsub, which are identical). Useriotxforreplicate,faker, imports and exports, and JavaScript expressions (--key-proc,--ttl-proc,--channel-proc). - Replication metrics
-
Metrics are renamed from
riotx.replication.toriot.replication.. In Prometheus this meansriotx_replication_bytes_total,riotx_replication_lag_secondsandriotx_replication_read_latency_secondsbecomeriot_replication_bytes_total,riot_replication_lag_secondsandriot_replication_read_latency_seconds. Update dashboards and alerts accordingly; the Grafana dashboard shipped with RIOT already uses the new names. The default metrics name changes fromRIOTX-<version>toRIOT-<version>. - Stream consumer group
-
The default consumer group for
stream-importchanges fromriotx-<version>toriot-<version>. The default already changed with every version, so pass--consumer-groupto keep reading with an existing group. - Change event source name
-
The default source name in change events changes from
RIOT-XtoRIOT.
Migrated automatically
- CDC offsets
-
The default offset key prefix changes from
riotx:offset:toriot:offset:, and the default offset hash frommetadata:riotx:offsetstometadata:riot:offsets. When the default is used and no offset exists under the new name, the offset stored under the old name is read, so CDC imports resume where they left off. New offsets are written under the new name.--offset-clearremoves both. Explicitly configured--offset-prefixor--offset-keyvalues are used as-is.