Tencent / TubeMQ

TubeMQ has been donated to the Apache Software Foundation and renamed to InLong, please visit the new Apache repository: https://github.com/apache/incubator-inlong
https://inlong.apache.org/
2.02k stars 388 forks source link

Optimize SERVICE_UNAVILABLE error handling logic #140

Closed gosonzhang closed 4 years ago

gosonzhang commented 4 years ago

Optimize the client's handling logic for SERVICE_UNAVILABLE error: If the production side receives the response message, it will block the Broker for a period of time, and if the consumption receives the response message, it will also be blocked (the consumption side has little effect, and it is the same as the previous value for the time being).


优化客户端对SERVICE_UNAVILABLE错误的处理逻辑:如果生产端收到该响应消息,则屏蔽该Broker一段时间,如果消费收到该响应消息也屏蔽(消费端影响不大,暂时与之前值相同)

gosonzhang commented 4 years ago

this close https://github.com/Tencent/TubeMQ/issues/138