AWS EventBridge Bus-Bus到BUS路由,并具有规则和输入转换
我将通过AWS合作伙伴活动来源将第三方应用程序连接到EventBridge。第三方事件是在特定于应用程序的自定义eventbus上发出的,每个事件触发器和事件规则(在该总线上)将第三方事件转换为通用格式开始执行通用步骤函数。这意味着事件总线,事件规则和目标(状态机)几乎没有耦合资源。
AWS EventBridge to-Bus事件路由。这意味着可以将自定义事件总线上的事件转发到默认事件总线。然后,在默认事件总线上,事件规则可以触发通用的步骤功能。这意味着第三方应用程序仅与共享资源松散地耦合,因为它们的事件被重新置于默认事件总线上,在该总线上发生了实际的硬耦合。
无论出于何种原因,如果事件目标是另一个事件总线,则不可能通过事件规则通过事件规则进行输入变压器。这意味着我必须将所有第三方事件转换从其各自的自定义事件总线转变为默认事件总线上的规则。
当然,我可以将lambda函数作为每个自定义事件总线的共同目标,该目标只需重新将事件重新发布到默认事件总线上。但是,是否有可行的和/或更便宜的解决方法?
希望这篇文章能引起一些AWS员工的注意,他们可以告诉我们在不久的将来是否期望此功能。
I am connecting 3rd-party applications like Shopify via AWS partner event sources to EventBridge. The 3rd-party events are emitted on an application-specific custom EventBus and each event triggers and event rule (on that bus) that transforms the 3rd-party event into a common format start the execution of common StepFunction. That means the event bus, event rule and target (state machine) are hardly-coupled resources.
AWS EventBridge supports bus-to-bus event routing. That means events on a custom event bus can be forwarded to the default event bus. Then, on the default event bus, an event rule can trigger the common StepFunction. That would mean 3rd-party apps are only loosely-coupled with shared resources because their events are jus re-emitted on the default event bus where the actual hard coupling takes place.
For whatever reason, the input transformer of events via an event rule is not possible if the event target is another event bus. That would mean I have to move all 3rd-party event transformations from their respective custom event buses into rules on the default event bus.
Of course, I could have a Lambda function as common target for each custom event bus that simply re-emits the events on the default event bus. But, are there any feasible and/or cheaper workarounds?
Hopefully this post will catch the attention of some AWS employees who can tell us if this feature is expected in the near future.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论