You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "aofall (via GitHub)" <gi...@apache.org> on 2023/09/06 09:26:16 UTC
[GitHub] [dubbo] aofall commented on issue #12983: Dubbo java17 大list 情况下 fastjson2 序列化异常
aofall commented on issue #12983:
URL: https://github.com/apache/dubbo/issues/12983#issuecomment-1707988873
> 请不要用Fastjson2,真的很多bug
[3.1 升级至 3.2](https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/3.1-to-3.2-compatibility-guide/)
升级文档中提到了 Dubbo 3.2 的默认序列化方式由 hessian2 切换为 fastjson2,不过可以手动改回 hessian2 或 fastjson,在 Dubbo 暂未发布新版本前可以[修改配置文件](https://cn.dubbo.apache.org/zh-cn/overview/mannual/java-sdk/upgrades-and-compatibility/serialization-upgrade/)来解决问题。
```
dubbo.provider.prefer-serialization=fastjson,hessian2
dubbo.provider.serialization=hessian2
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org