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/12/17 07:32:23 UTC

[GitHub] [pulsar-client-go] xige-16 opened a new issue #685: Add LastSequenceID interface for consumer

xige-16 opened a new issue #685:
URL: https://github.com/apache/pulsar-client-go/issues/685


   **Is your feature request related to a problem? Please describe.**
   A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
   
   **Describe the solution you'd like**
   get the last message's  messageID in the topic which the comsumer subscribe
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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



[GitHub] [pulsar-client-go] ericsyh commented on issue #685: Add LastSequenceID interface for consumer

Posted by GitBox <gi...@apache.org>.
ericsyh commented on issue #685:
URL: https://github.com/apache/pulsar-client-go/issues/685#issuecomment-1019022834


   Last MessageID is a admin api in pulsar [getLastMessageId](https://pulsar.apache.org/admin-rest-api/?version=2.9.1&apiversion=v2#operation/getLastMessageId), and seems pulsar-client-go only supports client api not admin api. [pulsarctl](https://github.com/streamnative/pulsarctl) is a pulsar admin tool in golang which supports to [last-message-id interface](https://docs.streamnative.io/pulsarctl/v0.5.0/#-em-last-message-id-em-), you can import pulsarctl as dependency on your project to use.


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



[GitHub] [pulsar-client-go] xiaofan-luan commented on issue #685: Add LastSequenceID interface for consumer

Posted by GitBox <gi...@apache.org>.
xiaofan-luan commented on issue #685:
URL: https://github.com/apache/pulsar-client-go/issues/685#issuecomment-1019034640


   > Last MessageID is a admin api in pulsar [getLastMessageId](https://pulsar.apache.org/admin-rest-api/?version=2.9.1&apiversion=v2#operation/getLastMessageId), and seems pulsar-client-go only supports client api not admin api. [pulsarctl](https://github.com/streamnative/pulsarctl) is a pulsar admin tool in golang which supports to [last-message-id interface](https://docs.streamnative.io/pulsarctl/v0.5.0/#-em-last-message-id-em-), you can import pulsarctl as dependency on your project to use.
   
   Cool, we'll try it~


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



[GitHub] [pulsar-client-go] xiaofan-luan commented on issue #685: Add LastSequenceID interface for consumer

Posted by GitBox <gi...@apache.org>.
xiaofan-luan commented on issue #685:
URL: https://github.com/apache/pulsar-client-go/issues/685#issuecomment-997988493


   anyone has a reason why we don't have a interface like last messageid?


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