You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "thetumbled (via GitHub)" <gi...@apache.org> on 2024/01/25 09:21:01 UTC

[I] [Bug] [broker] incorrect last message id from rest api [pulsar]

thetumbled opened a new issue, #21968:
URL: https://github.com/apache/pulsar/issues/21968

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar.
   
   
   ### Version
   
   master
   
   ### Minimal reproduce step
   
   The last message id from binary protocal is `1947495:17782`.
   ```
   17:42:35.775 [main] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/__transaction_buffer_snapshot-partition-2][multiTopicsReader-3b0ae499b9] Get topic last message Id
   17:42:35.781 [pulsar-client-io-1-1] INFO  org.apache.pulsar.client.impl.ConsumerImpl - [persistent://public/default/__transaction_buffer_snapshot-partition-2][multiTopicsReader-3b0ae499b9] Successfully getLastMessageId 1947495:17782
   ```
   But the  last message id from rest api is `269185:-1`
   <img width="219" alt="image" src="https://github.com/apache/pulsar/assets/52550727/f600143a-aec6-4bac-8c2b-b513d0b1f25a">
   
   
   ### What did you expect to see?
   
   .
   
   ### What did you see instead?
   
   .
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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-unsubscribe@pulsar.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org