KAFKA-724; Allow automatic socket.send.buffer from operating system in SocketServer
If socket.receive.buffer.bytes/socket.send.buffer.bytes are set to -1, use the OS defaults.
Author: Joshi <rekhajoshm@gmail.com>
Author: Rekha Joshi <rekhajoshm@gmail.com>
Reviewers: Ismael Juma <ismael@juma.me.uk>
Closes#1469 from rekhajoshm/KAFKA-724-rebased
@ -43,10 +43,10 @@ public class CommonClientConfigs {
@@ -43,10 +43,10 @@ public class CommonClientConfigs {
publicstaticfinalStringMETADATA_MAX_AGE_DOC="The period of time in milliseconds after which we force a refresh of metadata even if we haven't seen any partition leadership changes to proactively discover any new brokers or partitions.";
publicstaticfinalStringSEND_BUFFER_DOC="The size of the TCP send buffer (SO_SNDBUF) to use when sending data.";
publicstaticfinalStringSEND_BUFFER_DOC="The size of the TCP send buffer (SO_SNDBUF) to use when sending data. If the value is -1, the OS default will be used.";
publicstaticfinalStringRECEIVE_BUFFER_DOC="The size of the TCP receive buffer (SO_RCVBUF) to use when reading data.";
publicstaticfinalStringRECEIVE_BUFFER_DOC="The size of the TCP receive buffer (SO_RCVBUF) to use when reading data. If the value is -1, the OS default will be used.";
publicstaticfinalStringCLIENT_ID_DOC="An id string to pass to the server when making requests. The purpose of this is to be able to track the source of requests beyond just ip/port by allowing a logical application name to be included in server-side request logging.";