是模式的后退&前向兼容性比可选字段更好?

发布于 2025-02-06 00:24:57 字数 197 浏览 2 评论 0原文

我正在使用Jsonschema,我想知道对Confluent模式注册表等技术的需求是什么,因为它们的“杀手级功能”(除了我可以在GIT中实现的版本控制之外)是Backward&正向兼容性。

我想知道为什么此功能值得一些,只要我可以在微服务体系结构中轻松添加 /删除字段,只要它们是可选的(Protobuf也是如此)。如果是这样,那么向后的用例是什么向前兼容?

I’m using JsonSchema and I wonder what’s the need for technologies like Confluent Schema Registry, since their “killer feature” (other than version control which I can achieve in Git), is the backward & forward compatibility.

I’d like to know why is this feature worth something, when I can easily add / remove fields anywhere in a micro services architecture as long as they’re optional (the same applies to Protobuf). If so, then what’s the use case for backward & forward compatibility?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文