panzhi33 commented on issue #2661: URL: https://github.com/apache/rocketmq/issues/2661#issuecomment-782000707
 This is expected。If you get the last position 5, it will happen BufferUnderflowException。Only when the second to last position is 4, then the last message is obtained ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
