← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 1980.z.4.e.2.c

双流迁移与同步迁移

理解等级:高级

破坏性契约变更可双流并行,让消费者逐步迁移;前提是生产者仍能提供两种格式且并存无重大业务矛盾。否则需协同切新流,承担更高排期与回退风险。双流应标弃用、限制新订阅并有结束期限,避免永久留下相似但不一致的两套事实;实体新定义还需完整重建历史状态。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Deploying Event-Driven Microservices · 查看原书依据

      There are two main options for migrating a breaking schema change: Eventual migration via two event streams, one with the old schema and one with the new schema Synchronized migration to a single new stream, with the old one removed

    参考来源

    - 位置:《Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)》第16章《Deploying Event-Driven Microservices》(来源项目:a19c7933-4eda-4176-aebd-30fe7e1ad292;源文件:extracted/Building Event-Driven Microservices Leveraging Organizational Data at Scale (Adam Bellemare)/_epub-src/OEBPS/ch16.xhtml;规范化段落起句:There are two main options for migrating) - 结论依据:原文对该对象的定义、运行说明或对比支持以下归纳:破坏性契约变更可双流并行,让消费者逐步迁移;前提是生产者仍能提供两种格式且并存无重大业务矛盾。本卡同时保留其适用条件与失败边界。 - 原始内容:There are two main options for migrating a breaking schema change: Eventual migration via two event streams, one with the old schema and one with the new schema Synchronized migration to a single new stream, with the old one removed