12 lines
521 B
Markdown
12 lines
521 B
Markdown
# Database Event Schemas
|
||
|
||
内部事件以 JSON Schema Draft 2020-12 定义:
|
||
|
||
- `event-envelope-v1.json`:公共事件信封;
|
||
- `schedule-run-requested-v1.json`:请求启动一次调度运行;
|
||
- `job-node-execute-v1.json`:请求执行一个稳定版本节点;
|
||
- `job-node-finished-v1.json`:节点终态。
|
||
|
||
事件先随业务事务写入 MySQL `outbox_events`,Schedule Executor 直接轮询处理;
|
||
`consumer_inbox` 提供幂等保护。字段和状态值不得在生产者或消费者中另行定义。
|