gaoran10 edited a comment 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 startMessageId is null in some conditions if possible, 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: commits-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org