sijie commented on a change in pull request #3243: Document new rest api - getLastMessageId URL: https://github.com/apache/pulsar/pull/3243#discussion_r243737379
########## File path: site/docs/latest/admin-api/persistent-topics.md ########## @@ -644,3 +644,10 @@ String topic = "persistent://my-tenant/my-namespace/my-topic"; String subscriptionName = "my-subscription"; admin.persistentTopics().deleteSubscription(topic, subscriptionName); ``` + +### Last Message Id + +It gives the last commited message ID for a persistent topic. + +#### REST API Review comment: typically for a given rest endpoint, it should be documented for 3 parts, 1) http rest api 2) pulsar-admin 3) admin java api. Can you follow what other endpoints do? Also did we expose the endpoint to admin java api? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on 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
