kafka-jira mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tom Bentley (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (KAFKA-4260) Improve documentation of configuration listeners=PLAINTEXT://
Date Thu, 22 Jun 2017 08:21:00 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-4260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tom Bentley reassigned KAFKA-4260:

    Assignee: Tom Bentley

> Improve documentation of configuration listeners=PLAINTEXT://
> -------------------------------------------------------------------------
>                 Key: KAFKA-4260
>                 URL: https://issues.apache.org/jira/browse/KAFKA-4260
>             Project: Kafka
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions:
>            Reporter: Michal Turek
>            Assignee: Tom Bentley
>            Priority: Minor
>              Labels: patch-available
> We have just updated our testing Kafka cluster to 0.10 and we were facing one issue with
migration of legacy 0.8 configuration to
> {noformat}
> listeners=PLAINTEXT://
> # advertised.listeners=PLAINTEXT://myPublicHostName:9092    # REQUIRED for
> {noformat}
> This configuration will be invalid if {{advertised.listeners}} is not set too. Connection
string is stored to ZooKeeper according to documentation of  {{advertised.listeners}}
and observed behavior, but it isn't obvious and difficult to analyze. Clients and even other
brokers try to communicate with brokers using destination address, which is impossible.
Specification of {{advertised.listeners}} as shown above fixed the issue.
> Please update documentation at http://kafka.apache.org/0100/documentation#brokerconfigs
and backport the change to 0.9 and 0.10 branches.
> h4. advertised.listeners
> Listeners to publish to ZooKeeper for clients to use, if different than the *`listeners`*
-above-. In IaaS environments, this may need to be different from the interface to which the
broker binds. If this is not set, the value for `listeners` will be used.
> h4. listeners
> Listener List - Comma-separated list of URIs we will listen on and their protocols. Specify
hostname as to bind to all interfaces *(note `advertised.listeners` configuration
is required for*. Leave hostname empty to bind to default interface. Examples of
legal listener lists: PLAINTEXT://myhost:9092,TRACE://:9091 PLAINTEXT://, TRACE://localhost:9093

This message was sent by Atlassian JIRA

View raw message