Files
iotlcm/README.md
T
MiFaZhan dfeb5e8d13 docs: 删除 fullsync/supply 的内部记录,修复 README 悬空链接
- 删除 internal/fullsync/supply/README.md:后半段「预演门禁与回退记录」含内网
  Compose 目录(/home/xjzl/...)、两个镜像 sha256、内部挂载路径与 origin/main 引用,
  属内网部署记录,不应公开;前半段为内部实现说明,一并移除(代码包注释已足够)
- README:移除指向已删文件 SIM_STATUS_RUN_ACCOUNTING.md 的链接,
  改为直述 simStatusQueueSync.redisKeyPrefix 的用途
- README:移除指向已删文件 docs/角色权限任务切换.md 的链接,部署顺序改为直述要求
- go build ./... 通过
2026-10-30 11:50:17 +08:00

1.0 KiB

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 后,由本服务独立接管管理后端的持久化角色权限任务。默认关闭;启用前需先完成数据库迁移,并移除旧管理后端的执行入口。