Статус: Draft Дата: 2026-04-29
1. Event role
Events используются для projections, audit и integration. Они не заменяют source of truth в PostgreSQL.
2. Published events
resource.created
1 2 3 4 5 6 7 | |
resource.updated
1 2 3 4 5 6 7 | |
resource.deleted
1 2 3 4 | |
resource.health_changed
1 2 3 4 5 6 7 | |
capability.definition.published
1 2 3 4 | |
capability.provided
1 2 3 4 5 6 7 | |
3. Consumed events
resource-catalog-service может потреблять:
operation.completed;operation.cancelled;evidence.recorded;artifact.created;- future observer/agent facts.
Consumed events должны быть idempotent по event_id.
4. Event envelope
1 2 3 4 5 6 7 8 9 10 11 | |