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/06/22 17:18:05 UTC

[GitHub] [pulsar] BewareMyPower commented on a diff in pull request #16182: [client][c++] add getLastMessageIdAsync in Consumer

BewareMyPower commented on code in PR #16182:
URL: https://github.com/apache/pulsar/pull/16182#discussion_r904043692


##########
pulsar-client-cpp/include/pulsar/Consumer.h:
##########
@@ -390,6 +390,17 @@ class PULSAR_PUBLIC Consumer {
      */
     bool isConnected() const;
 
+    /**
+     * Asynchronously get an ID of the last available message or a message ID with -1 as an entryId if the
+     * topic is empty.
+     */
+    void getLastMessageIdAsync(pulsar::GetLastMessageIdCallback callback);

Review Comment:
   ```suggestion
       void getLastMessageIdAsync(GetLastMessageIdCallback callback);
   ```
   
   This method definition is already in namespace pulsar.



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