[ https://issues.apache.org/jira/browse/KAFKA-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549153#comment-16549153 ]
Marco Brade commented on KAFKA-3352: ------------------------------------ I'm currently facing a super slow Kafka client since I'm using SASL (doesn't matter if I use SASL_PLAINTEXT or SASL_SSL). The problem is that again getInetAddress().getHostName() is being executed. Any plan to fix that again also for the latest Kafka Clients 1.1.x 0.11.x? > Avoid DNS reverse lookups > ------------------------- > > Key: KAFKA-3352 > URL: https://issues.apache.org/jira/browse/KAFKA-3352 > Project: Kafka > Issue Type: Improvement > Reporter: Ismael Juma > Assignee: Ismael Juma > Priority: Major > Fix For: 0.10.0.0 > > > We use `InetSocketAddress.getHostName` in `Cluster.bootstrap` and > `SocketServer` This call can cause a reverse DNS look-up if an IP address is > used in the configuration. `getHostString` avoids the reverse DNS look-up. > `InetAddress.getHostName` has the same issue and it's used in > `SaslChannelBuilder`, `SslChannelBuilder` and `ZookeeperConsumerConnector`. I > am not changing these because the the former two actually require the FQDN > while the latter is on its way to deprecation. -- This message was sent by Atlassian JIRA (v7.6.3#76005)