>       So, in the case, do we need to provider a new flow-control 
> strategy(fail-fast)? It can be configurable, when broker in rate-limit, 
> broker not `disableAutoread` and reply a `FlowControlException` instead.

Broker not `disableAutoread` but reply a `FlowControlException` instead. 



> 2022年4月7日 下午3:13,Jiuming Tao <jm...@streamnative.io> 写道:
> 
> Hi all:
>       According to the issue (https://github.com/apache/pulsar/issues/15038), 
>  when producer send a message to broker and broker rate-limited at that time, 
> the request will blocked in buffer, after broker read the message and send 
> receipt to producer, the producer maybe timeout already.
>       So, in the case, do we need to provider a new flow-control 
> strategy(fail-fast)? It can be configurable, when broker in rate-limit, 
> broker not `disableAutoread` and reply a `FlowControlException` instead.
> 
> Thanks,
> Tao Jiuming

Reply via email to