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/10/25 09:58:54 UTC

[GitHub] [pulsar] Shoothzj opened a new issue #12479: PIP 108: Add method to help user judge if consumer queue has message

Shoothzj opened a new issue #12479:
URL: https://github.com/apache/pulsar/issues/12479


   ## Motivation
   Currently, I have an application that manages ten thousand of consumers, and a logic to schedule consumers's receive. It would be helpful to know if one of the consumers have message to recive.
   
   ## Goal
   To make `Consumer` can judge if there are unreceiving messages
   
   ## API Changes
   
   Add `hasMessageInReceiverQueue` on the `Consumer` interface.
   
   ## Implementation
   
   For `ZeroQueueConsumerImpl` return false, Others, judge the `receiveQueueSize` greater than zero.
   
   
   ## Reject Alternatives
   
   No alternatives yet.


-- 
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] github-actions[bot] commented on issue #12479: PIP 124: Add method to help user judge if consumer queue has message

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #12479:
URL: https://github.com/apache/pulsar/issues/12479#issuecomment-1052938476


   The issue had no activity for 30 days, mark with Stale label.


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