You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "lizhanhui (via GitHub)" <gi...@apache.org> on 2023/11/10 09:25:52 UTC

[PR] Reuse helper methods from Netty to free direct byte buffer [rocketmq]

lizhanhui opened a new pull request, #7550:
URL: https://github.com/apache/rocketmq/pull/7550

   Make codebase JDK 9+ compatible


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #7551] Reuse helper methods from Netty to free direct byte buffer [rocketmq]

Posted by "lizhanhui (via GitHub)" <gi...@apache.org>.
lizhanhui merged PR #7550:
URL: https://github.com/apache/rocketmq/pull/7550


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #7551] Reuse helper methods from Netty to free direct byte buffer [rocketmq]

Posted by "joeCarf (via GitHub)" <gi...@apache.org>.
joeCarf commented on code in PR #7550:
URL: https://github.com/apache/rocketmq/pull/7550#discussion_r1390106567


##########
proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java:
##########
@@ -32,6 +32,7 @@ public static LocalRemotingCommand createRequestCommand(int code, CommandCustomH
         cmd.writeCustomHeader(customHeader);
         cmd.setExtFields(new HashMap<>());
         setCmdVersion(cmd);
+        cmd.makeCustomHeaderToNet();

Review Comment:
   seems that this is irrelevant to the commit



##########
proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java:
##########
@@ -32,6 +32,7 @@ public static LocalRemotingCommand createRequestCommand(int code, CommandCustomH
         cmd.writeCustomHeader(customHeader);
         cmd.setExtFields(new HashMap<>());
         setCmdVersion(cmd);
+        cmd.makeCustomHeaderToNet();

Review Comment:
   I saw your commit in another pr, maybe you can split them



-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [ISSUE #7551] Reuse helper methods from Netty to free direct byte buffer [rocketmq]

Posted by "lizhanhui (via GitHub)" <gi...@apache.org>.
lizhanhui commented on code in PR #7550:
URL: https://github.com/apache/rocketmq/pull/7550#discussion_r1390552953


##########
proxy/src/main/java/org/apache/rocketmq/proxy/service/message/LocalRemotingCommand.java:
##########
@@ -32,6 +32,7 @@ public static LocalRemotingCommand createRequestCommand(int code, CommandCustomH
         cmd.writeCustomHeader(customHeader);
         cmd.setExtFields(new HashMap<>());
         setCmdVersion(cmd);
+        cmd.makeCustomHeaderToNet();

Review Comment:
   Include it to make the Test CI Pipeline pass



-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org