Share E-Book
Scan to open this page

Scan with your phone to open this page

AuthorAdam Bellemare

Building an Event-Driven Data Mesh Patterns for Designing and Building Event-Driven Architectures The exponential growth of data combined with the need to derive real-time business value is a critical issue. An event-driven data mesh can power real-time operational and analytical workloads, all from a single set of data product streams. With practical real-world examples, this book provides patterns that show software architects and developers how to successfully design and build an event-driven data mesh. Author Adam Bellemare demonstrates what events and streams are, where they come from, and how you can use them. You’ll also examine design patterns, their implications, and trade-offs inherent in their use. This book provides:• A foundation for how events and event streams relate to the four pillars of data mesh • Practical tips for building an event-driven data mesh, including incremental integration with your existing systems • A clear understanding of how events relate to systems and other events, both in the same stream and across streams • A realistic look at event design options such as fact, delta, and command event types, including how these choices will impact your data products • Best practices for privacy, handling events at scale, and regulatory compliance • Advice on asynchronous communication and handling eventual consistency

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
# Building an Event-Driven Data Mesh: Patterns for Designing and Building Event-Driven Architectures ## 【One-Line Pitch】 A practical architectural guide for software architects and developers who want to unify real-time operational and analytical workloads by treating data as event-driven products within a data mesh framework. If you're wrestling with data silos, schema drift, or the operational-versus-analytical divide, this book shows you a concrete path forward. ## 【Book Arc】 - **Opening (~0%–25%)**: Establishes the core problem—exponential data growth colliding with the need for real-time business value—and introduces the event-driven data mesh as the solution. Covers the data monolith, the costs of bad data, and common objections (producers can't model for everyone, multiple copies are bad, eventual consistency is too hard). - **Early (~25%–50%)**: Dives into the four pillars of data mesh—domain ownership, data as a product, federated governance, and self-service platform. Explains how events and event streams map onto these principles, including data product alignment types, push/pull access, and multimodal data products. - **Middle (~50%–75%)**: Explores event stream fundamentals in depth: events vs. messages vs. records, ephemeral message-passing, queuing, state events, event-carried state transfer, materialization, and aggregation. Compares Kappa and Lambda architectures, explaining why Kappa fits data mesh while Lambda doesn't, and covers event broker selection. - **Late (~75%–100%)**: Moves into federated governance implementation—forming governance teams, setting standards for schemas, metadata, programming languages, and frameworks. Addresses cross-domain compatibility, common entities, event stream keying/partitioning, and time/timezone handling, including what a governance meeting actually looks like. ## 【Key Takeaways】 - **The data monolith is the enemy** (Opening): Centralized data warehouses and lakes fail operational workloads because they can't deliver real-time value; event-driven data mesh unifies both planes from a single set of data product streams. - **Domain ownership means exposing the right data** (Early): Each domain selects what data to expose as products, guided by domain-driven design—not everything gets shared, and the selection process matters. - **Data products are immutable, time-stamped, and multimodal** (Early): Products support multiple access patterns (push/pull) and alignment types, making them usable across operational and analytical contexts simultaneously. - **Event streams are not message queues** (Middle): Ephemeral message-passing and queuing serve different purposes than durable event streams; understanding the distinction prevents architectural missteps. - **Event-carried state transfer enables materialization** (Middle): State events let consumers build and maintain their own views without coupling to producer internals—this is how you aggregate and materialize events into useful data products. - **Kappa architecture beats Lambda for data mesh** (Middle): Lambda's dual-path processing (batch + speed layers) creates complexity and inconsistency; Kappa's single-stream approach aligns with event-driven data mesh requirements. - **Federated governance is a team sport, not a mandate** (Late): Governance teams set standards for schemas, metadata, and interoperability while respecting domain autonomy—common entities, keying strategies, and timezone handling are concrete governance concerns. ## 【Reading Tips】 - **Skim Chapter 1 if you're already convinced**: The opening arguments about data monoliths and unification are valuable context but repetitive if you've read other data mesh material. Focus instead on Chapters 2–3 for the architectural meat. - **Deep-read the Kappa vs. Lambda comparison**: This is where the book earns its keep—understanding why Lambda fails for data mesh will save you from a costly architectural mistake. - **Pay attention to the governance chapter**: Most data mesh books hand-wave governance; this one gets concrete about schemas, metadata standards, and cross-domain compatibility. Take notes on the meeting structure. - **Watch for trade-off discussions**: The book consistently surfaces implications and trade-offs of design patterns—don't skim these sections, as they're where practical wisdom lives. - **Read with your own architecture in mind**: Map each pattern to your existing systems. The book emphasizes incremental integration, so ask "how would this fit my current stack?" as you go. ## 【Coverage Limits】 The excerpts cover the book's front matter, table of contents, and early chapters in detail, but do not include the later chapters' full content on privacy, regulatory compliance, asynchronous communication, or eventual consistency handling. Specific code samples and detailed pattern implementations from later chapters are not represented in this guide. ##
Excerpt 1
书名: Building an Event-Driven Data Mesh Patterns for Designing Building Event-Driven Architectures (Adam Bellemare) (Z-Library) 作者: Adam Bellemare Building a...
View in text
Page 2
r: @oreillymedia linkedin.com/company/oreilly-media youtube.com/oreillymedia The exponential growth of data combined with the need to derive real-time busine...
View in text
Excerpt 3
. US $65.99 CAN $82.99 ISBN: 978-1-098-12760-2 B ellem a re Adam Bellemare Building an Event-Driven Data Mesh Patterns for Designing and Building Event-Drive...
View in text
Page 4
and instructions contained in this work is at your own risk. If any code samples or other technology this work contains or describes is subject to open sourc...
View in text
Excerpt 5
sh or Pull 32 The Three Data Product Alignment Types 33 iii Event-Driven Data Products as Inputs for Operational Systems 36 Principle 3: Federated Governance...
View in text
Tags
AI categories
BackendCloud NativeData
ISBN: 1098127609
Publisher: O'Reilly Media
Publish Year: 2023
Language: English
Pages: 262
File Format: PDF
File Size: 6.9 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…