[
https://issues.apache.org/jira/browse/KAFKA-4044?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15424138#comment-15424138
]
ASF GitHub Bot commented on KAFKA-4044:
---------------------------------------
GitHub user omkreddy opened a pull request:
https://github.com/apache/kafka/pull/1750
KAFKA-4044: log actual socket send/receive buffer size after connecting in
Selector
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/omkreddy/kafka KAFKA-4044-LOG
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1750.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1750
----
commit b9427653ab35324d4544de6c922d0c0f50ee3bd1
Author: Manikumar Reddy O <[email protected]>
Date: 2016-08-17T06:26:08Z
KAFKA-4044: log actual socket send/receive buffer size after connecting in
Selector
----
> log actual socket send/receive buffer size after connecting in Selector
> -----------------------------------------------------------------------
>
> Key: KAFKA-4044
> URL: https://issues.apache.org/jira/browse/KAFKA-4044
> Project: Kafka
> Issue Type: Improvement
> Reporter: Jun Rao
> Assignee: Manikumar Reddy
> Labels: newbie
>
> In BlockingChannel, we had the following code to log the actual socket buffer
> size when the socket connection is established. This can be helpful when
> tuning the socket buffer size for long latency network. It would be useful to
> add that in Selector.pollSelectionKeys when the socket is connected.
> val msg = "Created socket with SO_TIMEOUT = %d (requested %d),
> SO_RCVBUF = %d (requested %d), SO_SNDBUF = %d (requested %d),
> connectTimeoutMs = %d."
> debug(msg.format(channel.socket.getSoTimeout,
> readTimeoutMs,
> channel.socket.getReceiveBufferSize,
> readBufferSize,
> channel.socket.getSendBufferSize,
> writeBufferSize,
> connectTimeoutMs))
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)