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 2022/04/28 18:22:22 UTC

[GitHub] [pulsar-client-go] billowqiu opened a new issue, #768: [bugfix] fix stuck when ProducerBlockedQuotaExceededException

billowqiu opened a new issue, #768:
URL: https://github.com/apache/pulsar-client-go/issues/768

   #### Expected behavior
   
   fail fast when user call Send
   
   #### Actual behavior
   
   stuck in Send method
   <img width="1412" alt="image" src="https://user-images.githubusercontent.com/720496/165819946-b71eead5-c5d3-4fa8-8a7f-c0abd9560089.png">
   
   <img width="1658" alt="image" src="https://user-images.githubusercontent.com/720496/165820733-6128f186-0e85-4976-b8e4-b0d552846a5b.png">
   
   #### Steps to reproduce
   1:set a 10MB backlog in pulsar topic
   2:Infinite loop call partitionProducer.Send to produce msg to that topic
   3:see the sdk output : [Failed to create producer at send PRODUCER request]" error="server error: ProducerBlockedQuotaExceededException: Cannot create producer on topic with backlog quota exceeded" producerID=1
   
   #### System configuration
   **Pulsar version**: x.y
   


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [pulsar-client-go] billowqiu commented on issue #768: [bugfix] fix stuck when ProducerBlockedQuotaExceededException

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

   
   
   
   > @billowqiu The default action is to block the `Send()` when the quota is full.
   > 
   > You can change the behavior in the namespace (or topic) policies: https://pulsar.apache.org/docs/en/admin-api-namespaces/#configure-backlog-quota-policies
   
   we need producer_exception  to detect the qouta is full;Other policies are not appropriate for our scenario.


-- 
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] merlimat commented on issue #768: [bugfix] fix stuck when ProducerBlockedQuotaExceededException

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

   @billowqiu The default action is to block the `Send()` when the quota is full. 
   
   You can change the behavior in the namespace (or topic) policies: https://pulsar.apache.org/docs/en/admin-api-namespaces/#configure-backlog-quota-policies 


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