Skip to content

Migration: old names → new names

The naming library replaces hand-built names in one coordinated release train (lib 0.14.0 and the releases built on it). This page lists every name that changes. After the cutover the old names are no longer published, and the old streams and keys are removed.

Topics

Old New Kind
act.exchange.<venue>.orderbook.changed.BTCUSDT act.exchange.<venue>.orderbook.changed.BTC_USDT pair format
act.exchange.<venue>.orderbook.changed.<P>.error act.exchange.<venue>.orderbook.gap.<P> event, not suffix
act.exchange.<venue>.ohlcv.candle.<int>.<P> act.exchange.<venue>.candle.closed.<P>.<int> identity last, pair first
act.exchange.<venue>.kline act.exchange.<venue>.candle.update raw feed
act.exchange.<venue>.trade.tape.<P> act.exchange.<venue>.trade.executed.<P> event name
act.exchange.<venue>.trade act.exchange.<venue>.trade.update raw feed
act.exchange.<venue>.instrument.info act.exchange.<venue>.instrument.snapshot event name
sc.<S>.indicator.<name>.<P>.changed sc.<S>.indicator.<name>.changed.<P> identity last
sc.<S>.trading.order.<event> unchanged –
workmanager.lifecycle sys.workmanager.worker.lifecycle sys scope; state moves to the payload
websocketmanager.lifecycle sys.websocketmanager.connection.lifecycle sys scope
workmanager.infra.worker sys.workmanager.worker.heartbeat sys scope
state.change sys.api.state.saved, sys.api.state.deleted sys scope, one topic per action
command.<type>.{workerId} wrk.<type>.command.{worker_id} wrk scope
<type>.response, <type>.error wrk.<type>.response, wrk.<type>.error wrk scope
{topic}-dead, dead-letter dlq.<topic>, dlq.pubsub one convention
demo.notebook.*, time-worker-topic, … x.* experimental

State keys

Old New
act.exchange.<venue>.orderbook.BTCUSDT act.exchange.<venue>.orderbook.BTC_USDT
sc.<S>.indicator.<name>.<P> unchanged apart from the pair format
scenario.<S>, scenario.index cfg.scenario.<S>, cfg.scenario.index
statestore.world.<name>, statestore.world.index cfg.world.<NAME>, cfg.world.index
statestore.strategy.<name>, statestore.strategy.index cfg.strategy.<NAME>, cfg.strategy.index
system.startdate cfg.system.startdate
workmanager.worker.<id>, workmanager.worker.index sys.workmanager.worker.<id>, sys.workmanager.worker.index
workmanager-runtime.worker.<id> sys.workmanager-runtime.worker.<id>
workmanager.recovery.leader sys.workmanager.recovery.leader
websocketmanager.connection.<id>, .index, websocketmanager.instance.index.<id> sys.websocketmanager.connection.<id>, .index, sys.websocketmanager.instance.<id>

CloudEvent attributes

Attribute Old New
ce-subject (order book) BTCUSDT currency_pair/BTC_USDT
ce-type (lifecycle) com.virtufin.workmanager.lifecycle.<state> com.virtufin.workmanager.worker.lifecycle with the state in the payload
ce-type (position) virtufin.position.<event> com.virtufin.position.<event>
ce-type (multi-word) load_failed load-failed
ce-source urn:virtufin:worker:<name>, urn:<name> urn:com.virtufin:worker:<type>[:<id>]

Removed

Virtufin.Base.Messaging.Topics and Virtufin.Core.Messaging.Topic were removed from lib 0.14.0. They built the obsolete act.market.* names and had no callers.