You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/12/09 10:49:45 UTC

[GitHub] [pulsar] BewareMyPower commented on issue #18835: [Doc] Message Id Uniqueness?

BewareMyPower commented on issue #18835:
URL: https://github.com/apache/pulsar/issues/18835#issuecomment-1344147829

   Since the ledger id and entry id are not exposed to users (in `pulsar-client-api` module), there is no need to document that.
   
   Actually, the `MessageId` objects returned by `send`, `receive` and `getLastMessageId` are unique for the triple (ledger id, entry id, batch index). However, there is no public API to get these fields. You have to use the specific implementations like `MessageIdImpl` and `BatchMessageIdImpl` to access these fields. These implementations are very messy and might change. See more discussions [here](https://lists.apache.org/thread/rdkqnkohbmkjjs61hvoqplhhngr0b0sd)


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

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