-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[client-v2] Add property for network buffer size #1784
Conversation
Quality Gate passedIssues Measures |
@@ -181,6 +186,15 @@ private HttpClientConnectionManager poolConnectionManager(SSLContext sslContext, | |||
connMgrBuilder::setMaxConnPerRoute); | |||
|
|||
|
|||
int networkBufferSize = MapUtils.getInt(chConfiguration, "client_network_buffer_size"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we store the key as a property somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we have a story about it.
@@ -816,6 +829,10 @@ private Map<String, String> setDefaults(Map<String, String> userConfig) { | |||
userConfig.put("connection_ttl", "-1"); | |||
} | |||
|
|||
if (!userConfig.containsKey("client_network_buffer_size")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be a property somewhere? In case we need to update it...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we have a story about it.
Summary
Adds a property to configure a buffer that is used to read data from a socket
Checklist
Delete items not relevant to your PR: