Auto-sync: update nexus workspace

This commit is contained in:
2026-04-29 15:44:38 +08:00
parent b2aadf771a
commit c961c6a394
114 changed files with 4784 additions and 1334 deletions

View File

@@ -0,0 +1,48 @@
---
title: "AWS EventBridge"
type: entity
tags:
- AWS
- Event Broker
- EDA
last_updated: 2026-04-14
---
## Aliases
- Amazon EventBridge
- EventBridge
## Role in EDA
AWS 事件代理服务,属于 **Event Router**(事件路由器)类型,比 SNS 功能更丰富,支持基于规则的过滤和路由。
## Key Features
- **Rule-Based Routing**:基于规则将事件从源产品路由到目标 AWS 服务或 SaaS 应用
- **Event Bus**默认事件总线Default Event Bus和自定义事件总线Custom Event Bus
- **Schema Registry**:事件模式注册表,自动发现和验证事件结构
- **API Destinations**:将事件转发到外部 HTTP 端点
- **Third-Party Integration**:原生集成 100+ AWS 服务和 SaaS 应用(如 Datadog、Shopify、PagerDuty
## Best Practices
- **每个订阅者使用单一规则**Single Rule per Subscriber
- **避免为自定义事件使用默认事件总线**,创建专用自定义事件总线
- **使用死信队列DLQ** 处理无法路由的事件
- 避免在规则中使用过于宽泛的事件模式导致误匹配
## Comparison with SNS
| 特性 | EventBridge | SNS |
|------|------------|-----|
| 过滤能力 | 基于 JSON Schema 的精细过滤 | 消息属性过滤 |
| 第三方集成 | 原生支持 100+ SaaS 应用 | 需额外配置 |
| Schema Registry | 有 | 无 |
| API Destinations | 有 | 无 |
| 定价 | 按事件数量 | 按消息数量 |
| 适用场景 | 复杂路由、多服务协调 | 简单发布/订阅 |
## Related Services
- [[AWS-SQS]]:事件存储,队列模式
- [[AWS-SNS]]:事件路由器,简单发布/订阅
- [[AWS-Kinesis]]:流数据平台
## Sources
- [[public-cloud-learning-sessions-opentext-event-driven-architecture-part-2-2024091]]
- [[public-cloud-learning-sessions-opentext-event-driven-architecture-part-1-2024091]]