- Hands-On Microservices with C#
- Matt R. Cole
- 121字
- 2021-07-23 17:25:22
Message versioning guidance
Here are a few tips for message versioning:
- If the change cannot be implemented by extending the original message type, then it is not a new version of the message; it is a new message type
- If you are unsure, prefer to create a new message type rather than version an existing message
- Versioned messages should not be used with request/response as the message types are part of the request/response contract and Request<V1,Response> is not the same as Request<V2,Response>, even if V2 extends V1 (that is, public class V2 : V1 {})
- Versioned messages should not be used with send/receive as this is targeted sending and therefore there is a declared dependency between the sender and the receiver
推薦閱讀
- ABB工業機器人編程全集
- 計算機圖形學
- Mastering D3.js
- Hands-On Machine Learning with TensorFlow.js
- Creo Parametric 1.0中文版從入門到精通
- Maya極速引擎:材質篇
- 大數據平臺異常檢測分析系統的若干關鍵技術研究
- CompTIA Network+ Certification Guide
- 大數據驅動的設備健康預測及維護決策優化
- OpenStack Cloud Computing Cookbook
- 貫通Java Web開發三劍客
- 格蠹匯編
- Unity Multiplayer Games
- 一步步寫嵌入式操作系統
- Machine Learning with Spark(Second Edition)