28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# iotlcm-worker-svr
|
|
|
|
Dedicated RabbitMQ consumer service for IotLCM asynchronous work.
|
|
|
|
## Consumers
|
|
|
|
The service always registers these business consumers when RabbitMQ is enabled:
|
|
|
|
- `iotlcm.traffic_usage.daily.retry`
|
|
- `iotlcm.traffic_usage.monthly.retry`
|
|
- `iotlcm.work_order.auto_close`
|
|
|
|
For local Admin-to-Worker integration checks, set `workerDiagnostic.enabled: true` to
|
|
register `iotlcm.worker.diagnostic`. Diagnostic messages are logged and acknowledged;
|
|
they do not access MySQL, TDengine, or Upstream. The diagnostic consumer is disabled
|
|
in the default and build configurations.
|
|
|
|
## SIM status synchronization
|
|
|
|
Status sync uses run-scoped queues and durable outcome counters. See
|
|
[Run accounting and rollout](SIM_STATUS_RUN_ACCOUNTING.md) for the new
|
|
`simStatusQueueSync.redisKeyPrefix` setting and tests.
|
|
|
|
|
|
## 角色权限同步
|
|
|
|
配置 `roleSync.enabled: true` 后,独立接管管理后端的持久化角色权限任务。部署顺序与回滚见 `docs/角色权限任务切换.md`。默认关闭,必须先执行迁移并移除旧管理后端执行入口。
|