[
https://issues.apache.org/jira/browse/KAFKA-3347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183972#comment-15183972
]
ASF GitHub Bot commented on KAFKA-3347:
---------------------------------------
GitHub user jcustenborder opened a pull request:
https://github.com/apache/kafka/pull/1026
KAFKA-3347 - Configure java to prefer ipv4
Modified KAFKA_JVM_PERFORMANCE_OPTS to include
-Djava.net.preferIPv4Stack=true. Added an additional space at the end of the
string to be consistent with the other variables.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcustenborder/kafka KAFKA-3347
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1026.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 #1026
----
commit e717faa1e1e82ed6fe2146db4663a3f4ac528c3b
Author: Jeremy Custenborder <[email protected]>
Date: 2016-03-07T23:14:33Z
KAFKA-3347 - Modified KAFKA_JVM_PERFORMANCE_OPTS to include
-Djava.net.preferIPv4Stack=true.
----
> Configure java to prefer ipv4
> -----------------------------
>
> Key: KAFKA-3347
> URL: https://issues.apache.org/jira/browse/KAFKA-3347
> Project: Kafka
> Issue Type: Improvement
> Components: core
> Affects Versions: 0.9.0.1
> Reporter: Jeremy Custenborder
> Priority: Minor
>
> I've noticed that ports are sometimes binding on IPv6 addresses rather than
> the IPv4 address I'm expecting. Can we change this so we bing on the IPv4
> address rather than the IPv6 address? I'm proposing to add this to
> KAFKA_JVM_PERFORMANCE_OPTS.
> {code}
> -Djava.net.preferIPv4Stack=true
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)