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 2019/08/07 13:27:55 UTC
[GitHub] [pulsar] jiazhai opened a new pull request #4911: expose
getLastMessageId method in ConsumerImpl
jiazhai opened a new pull request #4911: expose getLastMessageId method in ConsumerImpl
URL: https://github.com/apache/pulsar/pull/4911
Fixes #<xyz>
### Motivation
It would be good to expose method `getLastMessageId` in `ConsumerImpl` to a public method.
eg. some times user would like to know the lag messages; or only consume messages before current time.
### Modifications
- expose method `getLastMessageId` in consumer api.
- add unit test.
### Verifying this change
Ut passed
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services