← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 1980.z.1.a.1.c

原始CDC会泄漏模型

理解等级:中级

原始数据库变更流公开表和字段,会使消费者依赖源系统内部范式、外键与DDL。源库的合法字段修改也可能违反公共事件契约。隔离办法是由数据所有者输出公共业务模型,或把原始流置于私有空间,通过专用转换服务形成公共事件;不能把每个消费者自行重建源数据库模型当作解耦成功。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第04章《Integrating Event-Driven Architectures with Existing Systems》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch04.xhtml;规范化段落起句:The internal data model is completely exposed) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:原始数据库变更流公开表和字段,会使消费者依赖源系统内部范式、外键与DDL。本卡同时保留其适用条件与失败边界。 - 原始内容:The internal data model is completely exposed in the changelogs. Isolation of the underlying data model must be carefully and selectively managed, unlike query-based updating, where views can be used to provide isolation.