Jason918 commented on pull request #12308: URL: https://github.com/apache/pulsar/pull/12308#issuecomment-939640432
> Please modify the check `if (startMessageId.equals(MessageId.latest))` of the method `ConsumerImpl#hasMessageAvailableAsync()` to `if (MessageId.latest.equals(startMessageId))`, if the startMessageId is null in some conditions if possible, the NPE problem will be present again. Done. -- 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]
