fxbing opened a new issue #4933: Backlog size calculation errors can result in 
unlimited messages being produced 
URL: https://github.com/apache/pulsar/issues/4933
 
 
   **Describe the bug**
   Backlogs are sets of unacknowledged messages for a topic that have been 
stored by bookies even if not consumed. But in fact, if the topic has not been 
consumed, you can produce unlimited messages.
   
https://github.com/apache/pulsar/blob/be7b24f9f8aa67b2235e523485249aef8d2a611a/managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/ManagedLedgerImpl.java#L921-L926
   
   
   **To Reproduce**
   Set a limited BaclogQuotaSize to produce unlimited messages without 
consuming.
   
   **Expected behavior**
   Limited production message
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to