## 概述 为 authorization-service 实现 Outbox 模式,确保数据库事务和 Kafka 事件发布的原子性。 ## 新增表 - OutboxEvent: 事件暂存表,用于事务性事件发布 ## 新增组件 - OutboxRepository: Outbox 事件持久化 - OutboxPublisherService: 轮询发布未处理事件到 Kafka ## 支持的事件 - authorization-events: 授权角色创建/更新事件(省公司、市公司授权) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| 00000000000000_init | ||
| 20241217_add_soft_delete | ||
| 20241210000001_add_account_sequence | ||
| 20251213151704_add_community_benefit_assessment_fields | ||
| 20251214100000_add_last_month_trees_added | ||
| 20251217000000_add_outbox_events | ||
| .gitkeep | ||
| migration_lock.toml | ||