Files
nexus/wiki/entities/AWS-EventBridge.md

1.8 KiB
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
AWS EventBridge entity
AWS
Event Broker
EDA
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
定价 按事件数量 按消息数量
适用场景 复杂路由、多服务协调 简单发布/订阅

Sources