lhotari opened a new issue #6333: Pulsar 2.5.0 regression: 
Reader.hasMessageAvailable returns false when startMessageId is the message id 
of the last message id in startMessageIdInclusive mode
URL: https://github.com/apache/pulsar/issues/6333
 
 
   **Description**
   `Reader.hasMessageAvailable` returns `false` when `startMessageId` is the 
message id of the last message id in `startMessageIdInclusive` mode. 
   If the message id is any other id than the id of the last message, there is 
no issues. 
   This problem occurs with Pulsar 2.5.0. The test case passes with Pulsar 
2.4.2.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   ```
   git clone -b has-message-available-2.5.0 
https://github.com/lhotari/pulsar-bug-repro
   cd pulsar-bug-repro
   ./gradlew test
   ```
   
   **To test with Pulsar 2.4.2 (test passes)**
   ```
   git checkout has-message-available-2.4.2
   ./gradlew cleanTest test
   ```
   
   **Expected behavior**
   When using the Reader API and specifying the message id of the message id of 
the last message that exists in the topic with startMessageIdInclusive mode, 
then Reader.hasMessageAvailable should return true.

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


With regards,
Apache Git Services

Reply via email to