AlbumenJ commented on code in PR #10166:
URL: https://github.com/apache/dubbo/pull/10166#discussion_r913334418


##########
dubbo-remoting/dubbo-remoting-api/src/main/java/org/apache/dubbo/remoting/Constants.java:
##########
@@ -79,7 +79,11 @@ public interface Constants {
 
     String SERIALIZATION_KEY = "serialization";
 
-    String DEFAULT_REMOTING_SERIALIZATION = "hessian2";
+    String DEFAULT_REMOTING_SERIALIZATION_PROPERTY_KEY = 
"DUBBO_DEFAULT_SERIALIZATION";
+
+    String DEFAULT_REMOTING_SERIALIZATION_PROPERTY = "hessian2";
+
+    String DEFAULT_REMOTING_SERIALIZATION = 
System.getProperty(DEFAULT_REMOTING_SERIALIZATION_PROPERTY_KEY, 
DEFAULT_REMOTING_SERIALIZATION_PROPERTY);

Review Comment:
   Yep, for migration purpose.



-- 
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