fuyou001 commented on PR #9397:
URL: https://github.com/apache/rocketmq/pull/9397#issuecomment-2989889693

   > Hi @fuyou001 , please help review again. According to your review, I added 
the following serialization compatibility test tool class: 
`RemotingSerializableCompatTest`. It mainly does the following:
   > 
   > 1. Construct objects with default parameters for all subclasses of 
RemotingSerializable
   > 2. Use fastjson1 to serialize the object obtained in the first step
   > 3. Use fastjson2 to deserialize the json string obtained in the second step
   > 4. Compare the object deserialized in the third step with the object 
constructed in the first step, and compare all attribute values. Their 
comparisons are all passed
   
   When running RemotingSerializableCompatTest, I encountered failed classes. 
Here's the output for your review:
   failed:class org.apache.rocketmq.remoting.protocol.body.RegisterBrokerBody
   failed:class 
org.apache.rocketmq.remoting.protocol.header.GetConsumerListByGroupResponseBody
   failed:class org.apache.rocketmq.remoting.protocol.route.TopicRouteData
   failed:class 
org.apache.rocketmq.remoting.protocol.statictopic.TopicRemappingDetailWrapper
   failed:class org.apache.rocketmq.remoting.protocol.body.SubscriptionGroupList
   failed:class org.apache.rocketmq.remoting.protocol.body.GroupList
   failed:class 
org.apache.rocketmq.remoting.protocol.body.ElectMasterResponseBody
   failed:class 
org.apache.rocketmq.remoting.protocol.body.QueryAssignmentResponseBody
   failed:class org.apache.rocketmq.remoting.protocol.body.BrokerMemberGroup
   failed:class org.apache.rocketmq.remoting.protocol.heartbeat.HeartbeatData
   failed:class 
org.apache.rocketmq.remoting.protocol.body.CheckClientRequestBody
   failed:class 
org.apache.rocketmq.remoting.protocol.body.GetBrokerMemberGroupResponseBody
   failed:class org.apache.rocketmq.remoting.protocol.body.ClusterInfo
   failed:class 
org.apache.rocketmq.remoting.protocol.body.QueryConsumeQueueResponseBody
   failed:class org.apache.rocketmq.remoting.protocol.body.TopicList
   failed:class 
org.apache.rocketmq.remoting.protocol.body.QuerySubscriptionResponseBody
   failed:class org.apache.rocketmq.remoting.protocol.body.ConsumeByWho
   failed:class org.apache.rocketmq.remoting.protocol.body.ConsumerRunningInfo
   failed:class org.apache.rocketmq.remoting.protocol.body.KVTable
   failed:class 
org.apache.rocketmq.remoting.protocol.body.CreateTopicListRequestBody


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

Reply via email to