Files
iotlcm/worker-svr/README.md
T

28 lines
1.0 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. The optional
`simStatusQueueSync.redisKeyPrefix` setting controls the Redis key prefix used by
these queues.
## 角色权限同步
配置 `roleSync.enabled: true` 后,由本服务独立接管管理后端的持久化角色权限任务。默认关闭;启用前需先完成数据库迁移,并移除旧管理后端的执行入口。