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

   **Make sure set the target branch to `develop`**
   
   ## What is the purpose of the change
   
   Here's some cases:
   
   
![image](https://user-images.githubusercontent.com/8181966/181713729-51b99f11-5178-476a-a99e-c6a2102314ab.png)
   When implementing zeroCopy, the response is written to the netty channel 
even before the processRequest method ends.
   
   
![image](https://user-images.githubusercontent.com/8181966/181713777-6b04545d-a852-42ad-aa7c-77130159e454.png)
   
   When implementing long-polling, the response is assigned and returned as 
NULL instead of returning an asynchronous result.
   
   ## Brief changelog
   
   1. Refactoring the processRequest method signatures in concrete Processors 
by no longer taking channel as a parameter.
   2. Refactoring logic like long-polling and Zerocopy that are not properly 
processing response during the NettyReqeustProcessor processing.
   
   ## Verifying this change
   
   Pass UTs.
   


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