← 返回刚才阅读的位置

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.c.1.c.2.h

消息选型明确保证边界

理解等级:高级

比较broker需考虑路由、保留、重放、顺序范围、恢复和运维。Kafka事务中的处理保证不能自动覆盖外部银行扣款,RabbitMQ路由能力也不自动维持库存不变量。按业务协议组合,避免被“恰好一次”标签替代设计。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Choosing Platform and Technologies · 查看原书依据

      For high-stakes transactional messages, such as order processing and payment events, Apache Kafka emerges as a robust choice. Its log-based architecture provides crucial exactly-once delivery semantics and maintains message ordering within partitions.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第12章《Choosing Platform and Technologies》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch12.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:比较broker需考虑路由、保留、重放、顺序范围、恢复和运维。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:For high-stakes transactional messages, such as order processing and payment events, Apache Kafka emerges as a robust choice. Its log-based architecture provides crucial exactly-once delivery semantics and maintains message ordering within partitions.