Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dubbox 2.8.4版本fst序列化,provider端新增字段,consumer端报错 #379

Open
runformydream opened this issue Apr 12, 2018 · 6 comments

Comments

@runformydream
Copy link

dubbox 2.8.4版本,使用fst序列化,provider端返回对象新增字段时,consumer端代码不变,consumer端反序列化报错。现在只能用version来解决,这种解决方式不优雅,有更好的方式吗?

@eoc2015
Copy link

eoc2015 commented Apr 12, 2018

可否换成hession序列化呢,这个字段不一致自动忽略不就行了

@runformydream
Copy link
Author

fst的性能比hessian好,所以用fst,fst的这个问题有办法解决吗?

@eoc2015
Copy link

eoc2015 commented Apr 12, 2018

这个不清楚FST可以不。我们用的hessian,权衡了下,没那么大的量,就忽略序列化时间了

@runformydream
Copy link
Author

恩,用hessian,确实没这个问题

@runformydream
Copy link
Author

谁有解决办法吗?

@Lihuanghe
Copy link

这个问题要问fst ,答案是没有办法.
可以使用protobuf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants