知识卡片
消息选型明确保证边界
比较broker需考虑路由、保留、重放、顺序范围、恢复和运维。Kafka事务中的处理保证不能自动覆盖外部银行扣款,RabbitMQ路由能力也不自动维持库存不变量。按业务协议组合,避免被“恰好一次”标签替代设计。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 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.