wang-laoshi opened a new issue, #264:
URL: https://github.com/apache/dubbo-spi-extensions/issues/264

   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进行序列化,怎么弄?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to