• 请不要在回答技术问题时复制粘贴 AI 生成的内容
asanelder
V2EX  ›  程序员

thrift 版本兼容性问题?

  •  1
     
  •   asanelder · Apr 27, 2021 · 1947 views
    This topic created in 1867 days ago, the information mentioned may be changed or developed.
    现在项目中使用的是 0.9.3, 但想升级成 0.13.0(或者其它更高版本), 不想重新 compile 对应的 thrift idl 文件(之前的是使用 0.9.3 compiler 生成的)

    那么, 使用更高的版本有兼容性问题么? 俺在网上没搜索到 thrift 向前兼容的资料...

    求有经验的老哥解惑
    2 replies    2021-04-27 17:48:42 +08:00
    dengtongcai
        1
    dengtongcai  
       Apr 27, 2021
    客户端还是服务端?
    asanelder
        2
    asanelder  
    OP
       Apr 27, 2021
    @dengtongcai #1 客户端和服务端都升级, 这里的升级指的是升级 thrift 版本, thrift 文件不变.

    其实就是使用 0.9.3 的 compiler 生成的文件, 然后服务依赖的 thrift 使用更新的版本.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2852 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 07:48 · PVG 15:48 · LAX 00:48 · JFK 03:48
    ♥ Do have faith in what you're doing.