sunxiaojian opened a new issue, #4805:
URL: https://github.com/apache/rocketmq/issues/4805

   RocketMQ verison : 4.7.0 
   
   1.  The seek method in DefaultLitePullConsumerImpl defaults to the rebrance 
method. However, if I want to customize the MessageQueueListener, it seems that 
I cannot use the seek method. The subscription partition in 
AssignedMessageQueue cannot be reset because the AssignedMessageQueue variable 
in DefaultLitePullConsumerImpl is not public. Can you consider adding a method 
to get this information? When customizing MessageQueueListener, you can 
continue to use the seek method
   
   default MessageQueueListener :
   
![image](https://user-images.githubusercontent.com/6446530/183816174-addb39f5-e22f-4f8a-a0e6-a1d38f39b411.png)
   seek method :
   
![image](https://user-images.githubusercontent.com/6446530/183816293-c74be012-8d41-479c-bf4a-203d2b64d689.png)
   
   2.  Now setMessageQueueListener must be overwritten after the subscribe 
method, otherwise it will be overwritten by default, which is easy to cause 
confusion
     
   
![image](https://user-images.githubusercontent.com/6446530/183816777-70a87022-5d9f-4a84-9681-2140950d3a61.png)
   
   
   


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