315157973 opened a new pull request #13538:
URL: https://github.com/apache/pulsar/pull/13538


   ### Motivation
   
   Broker limits the rate of publishing messages by setting 
`channel.setAutoRead(false)`. But no exception is returned to the client, or 
any log is printed, which makes it very difficult for user to troubleshoot the 
problem. When the Producer is limited, the client will send timeout and the 
connection will be closed (Broker no longer process the Client's heartbeat 
request, because autoRead=false). We don't know if there is a problem with 
network or the rate is limited or other reasons. 
   
   
   ### Modifications
   Add publishRateLimitedTimes to topic metrics
   
   
   ### Documentation
   - [x] `no-need-doc` 
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to