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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to