xdkxlk commented on code in PR #5293:
URL: https://github.com/apache/rocketmq/pull/5293#discussion_r994322148


##########
common/src/main/java/org/apache/rocketmq/common/protocol/header/ResetOffsetRequestHeader.java:
##########
@@ -22,12 +22,21 @@
 import org.apache.rocketmq.remoting.exception.RemotingCommandException;
 
 public class ResetOffsetRequestHeader implements CommandCustomHeader {
+
     @CFNotNull
     private String topic;
+
     @CFNotNull
     private String group;
+
+    private int queueId = -1;
+
+    @CFNotNull
+    private Long offset;

Review Comment:
   The CFNotNull of offset is not necessary, and will produce WARN for old 
client



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