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/07 07:20:29 UTC

[GitHub] [pulsar] wuzhanpeng opened a new issue #13165: refine cursor last active

wuzhanpeng opened a new issue #13165:
URL: https://github.com/apache/pulsar/issues/13165


   **Is your enhancement request related to a problem? Please describe.**
   We found that after turning on the automatic cleanup for inactive subscriptions, if only resetting a sub without continuous consumption, the sub will also be cleaned up. Among them, using pulsar-flink-connector for consumption is a typical scenario due to its strategy of committing offset when checkpoint is triggered regularly.
   
   **Describe the solution you'd like**
   I submit a pr as an attachment to supplement this situation so that `resetCursor` will also trigger the update of `updateLastActive`.
   
   **Describe alternatives you've considered**
   If the `resetCursor` can update the lasr active time is not recognized, we may need to add a flag to record the time of the last reset, but I think this may be a bit redundant.
   


-- 
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] codelipenghui closed issue #13165: refine cursor last active

Posted by GitBox <gi...@apache.org>.
codelipenghui closed issue #13165:
URL: https://github.com/apache/pulsar/issues/13165


   


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