gaoran10 commented on pull request #12308:
URL: https://github.com/apache/pulsar/pull/12308#issuecomment-939508150


   Please modify the check `if (startMessageId.equals(MessageId.latest))` of 
the method `ConsumerImpl#hasMessageAvailableAsync()` to `if 
(MessageId.latest.equals(startMessageId))`, if the reader didn't set the 
`startMessageId` and `startMessageRollbackDurationInSec`, I think the NPE 
problem will be present again.


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