Hi all:
Now, Broker limits the rate of producing 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 us to troubleshoot
the problem.

The client timeout when sending messages and the connection will be closed
(the client's heartbeat not be processed by Broker). This has brought a lot
of obstacles to our troubleshooting. We don't know if there is a problem
with the Broker or the rate is limited.

I suggest that before setting AutoRead=false, at least one exception should
be returned to the client, so that the user can perceive that it has been
throttled, or at least print the log on the Broker side. Returning an
exception will change the existing behavior

I look forward to your better solution

Reply via email to