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 2021/08/20 03:11:06 UTC
[GitHub] [pulsar] Anonymitaet commented on a change in pull request #11723: [pulsar-client-cpp] Expose getLastMessageId in the Reader API
Anonymitaet commented on a change in pull request #11723:
URL: https://github.com/apache/pulsar/pull/11723#discussion_r692626389
##########
File path: pulsar-client-cpp/include/pulsar/Reader.h
##########
@@ -137,6 +138,16 @@ class PULSAR_PUBLIC Reader {
*/
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.
Review comment:
```suggestion
* Asynchronously get an ID of the last available message or a message ID with -1 as an entryId if the topic is empty.
```
##########
File path: pulsar-client-cpp/include/pulsar/Reader.h
##########
@@ -137,6 +138,16 @@ class PULSAR_PUBLIC Reader {
*/
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(GetLastMessageIdCallback callback);
+
+ /**
+ * Get an id of the last available message or a message id with -1 as an entryId if the topic is empty.
Review comment:
same
--
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