Skip to content

Conversation

wolfstudy
Copy link
Member

@wolfstudy wolfstudy commented Jul 12, 2021

Signed-off-by: xiaolongran xiaolongran@tencent.com

Motivation

In Java SDK, the default connection timeout is 10 sec

private int connectionTimeoutMs = 10000;

The problem here is that when the load of the broker is high, there is no way to complete the processing and creation of the connection within 5s, which will cause the client to constantly create new connections and try to establish a connection with the broker, and the broker Continuously disconnecting from the client, forming a vicious circle

Modifications

Replace 5 sec of connection timeout with 10 sec

Signed-off-by: xiaolongran <xiaolongran@tencent.com>
@wolfstudy wolfstudy self-assigned this Jul 12, 2021
@wolfstudy wolfstudy requested review from merlimat and cckellogg July 12, 2021 07:07
@wolfstudy wolfstudy added this to the 0.6.0 milestone Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants