rwadurian/backend/services/authorization-service/src
hailin f65b0d14b7 feat(authorization): 实现 Outbox 模式事件发布
## 概述
为 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>
2025-12-18 00:30:09 -08:00
..
api refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00
application feat(trading): 添加账本明细页面,含统计图表和流水筛选 2025-12-17 07:41:07 -08:00
config refactor(mpc-system): migrate to party-driven architecture with PartyID-based routing 2025-12-05 08:11:28 -08:00
domain feat(authorization): 添加审计查询方法支持查询已删除记录 2025-12-17 07:53:37 -08:00
infrastructure feat(authorization): 实现 Outbox 模式事件发布 2025-12-18 00:30:09 -08:00
shared refactor!: 重构账户序列号格式 (BREAKING CHANGE) 2025-12-12 09:11:18 -08:00
app.module.ts feat(reward): add internal APIs for reward distribution 2025-12-10 21:49:13 -08:00
main.ts fix(authorization): add Kafka microservice for @EventPattern to work 2025-12-10 10:08:55 -08:00