devinbost opened a new pull request #10166: URL: https://github.com/apache/pulsar/pull/10166
This PR adds additional logging to help identify/troubleshoot permit issues. Currently, when the consumer sends its permits to the broker, we zero the client's permits but never check if the broker command (i.e. `Commands.newFlow(consumerId, numMessages)`) was successfully submitted. If a communication problem causes the broker to not receive the permits, it's possible for the consumer's permits to get out of sync with the broker. The log statement in this PR will help debugging efforts when permit issues are suspected to be the cause of other problems, such as those documented in Issue #6054 -- 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: [email protected]
