pulsar icon indicating copy to clipboard operation
pulsar copied to clipboard

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

Open thetumbled opened this issue 1 year ago • 0 comments

Search before asking

  • [X] I searched in the 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 image

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!

thetumbled avatar Jan 25 '24 09:01 thetumbled