You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
AlbumenJ
changed the title
如何让CompatibleFieldSerializer成为dubbo的kryo默认序列化方式
How to set CompatibleFieldSerializer as default serializer in kryo
Nov 29, 2023
I want to ask everyone
I use kryo as the serialization method of dubbo3
dubbo.protocol.serialization: kryo
kryo has multiple serialization methods, the default is FieldSerializer
I want to use CompatibleFieldSerializer (guaranteed backward compatibility)
One current approach is to add
@DefaultSerializer(CompatibleFieldSerializer.class)
But every class needs to be added. I hope dubbo will use CompatibleFieldSerializer for serialization globally. How to do it?
各位我想问一下
我用kryo作为dubbo3的序列化方式
dubbo.protocol.serialization: kryo
kryo是多种序列化方式,默认是FieldSerializer
我想使用CompatibleFieldSerializer(保证向下兼容)
目前一个做法是,在需要被序列化的类上加上
@DefaultSerializer(CompatibleFieldSerializer.class)
但是这种每个类都要加,我希望dubbo全局都使用CompatibleFieldSerializer进行序列化,怎么弄?
The text was updated successfully, but these errors were encountered: