We're sunsetting PodQuest on 2025-07-28. Thank you for your support!
Export Podcast Subscriptions
cover of episode #111 - EventCatalog Revolutionizes Governance in Event-Driven Architectures | ft. David Boyne

#111 - EventCatalog Revolutionizes Governance in Event-Driven Architectures | ft. David Boyne

2025/1/17
logo of podcast Real World Serverless with theburningmonk

Real World Serverless with theburningmonk

AI Deep Dive AI Chapters Transcript
People
D
David Boyne
Topics
David Boyne: 我在构建事件驱动架构时遇到的一个常见问题是‘实现优先’的心态。许多团队直接开始实现事件而没有充分考虑后果,例如事件重复、幂等性问题以及模式演进策略等。在设计阶段,我们需要考虑系统边界、领域驱动设计以及不同级别的事件(私有事件、跨边界事件和业务事件)。我们需要从整体架构出发,思考事件的模式、版本控制、事件ID的统一格式以及跨不同服务的事件映射等问题,以避免因契约变更而破坏下游系统。 即使在小型团队中,也需要从一开始就考虑事件架构中的模式、版本兼容性、文档、验证和测试等问题,以避免日后出现混乱。虽然事件驱动架构存在诸多挑战,但其敏捷性和可演进性等优势不容忽视。我们需要改变思维方式,才能充分发挥其潜力。许多问题并非技术本身的问题,而是思维方式和组织方式的问题。组织的社会技术方面同等重要,两者不协调会导致更多问题。 Ian: 在事件驱动架构中,随着规模扩大,事件数量增加,难以追踪事件、了解事件的模式和版本,以及评估变更的影响。Event Catalog旨在解决事件驱动架构中的治理问题,提供事件的发现性,并帮助团队了解事件的生产者、消费者、模式以及版本等信息。Event Catalog使用Markdown文件生成文档,并支持自定义组件和扩展功能。它基于领域驱动设计,支持领域、服务和事件的文档管理,并提供可视化图表。 Event Catalog的Flows功能用于记录端到端业务流程,方便追踪事件流转。它支持变更日志,记录服务和事件的变更历史,方便理解变更原因。Event Catalog的内容虽然基于Markdown,但可以通过SDK和生成器实现自动化管理,支持多种集成,例如Async API和Open API,可以自动生成文档。它可以整合多个模式注册中心的信息,并允许添加额外的上下文信息。 Event Catalog可以根据组织的约定,自动映射事件到不同的领域和服务,支持使用Async API生成目录,方便多团队协作。Event Catalog的Flows功能目前是手动维护的,但未来将支持通过SDK进行自动化管理。Event Catalog可以作为核心治理工具,未来可以添加更多运行时自动化功能,例如验证、代码模型生成等。它可以支持更细粒度的事件消费通知,例如针对特定字段的变更通知。

Deep Dive

Chapters
David Boyne discusses common challenges in event-driven architectures, emphasizing the importance of thoughtful design and planning to avoid issues like schema evolution, event duplication, and idempotency. He highlights the need for a mindset shift and the benefits of an evolutionary architecture approach.
  • Implementation-first mindset can lead to problems in event-driven architectures.
  • Key challenges include event design, schema evolution, governance, and standards.
  • Event-driven architectures offer agility but require careful consideration of potential issues like retries and side effects.

Shownotes Transcript

In this episode, I spoke with David Boyne, the creator of EventCatalog, to learn more about the most common challenges with Event-Driven Architectures and how EventCatalog can solve the governance problem - how events are versioned, schema'd, discovered and tested.This episode includes a short demo of EventCatalog, if you want to see the demo in action, then check out the video version on YouTube here).Links from the episode:

  • EventCatalog)
  • Winglang)

Opening theme song:Cheery Monday by Kevin MacLeodLink: https://incompetech.filmmusic.io/song/3495-cheery-mondayLicense: http://creativecommons.org/licenses/by/4.)