Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3325

Out of date instructions in quickstart guide

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: None
    • Labels:
      None

      Description

      In http://kafka.apache.org/documentation.html#quickstart there is the following:

      Now edit these new files and set the following properties:

      config/server-1.properties:
      broker.id=1
      port=9093
      log.dir=/tmp/kafka-logs-1

      config/server-2.properties:
      broker.id=2
      port=9094
      log.dir=/tmp/kafka-logs-2

      However the latest version of these config files has the following line which also needs to be adjusted otherwise you get an exception at broker startup (address in use):
      listeners=PLAINTEXT://:9092

      So I suggest changing the instructions to:

      Now edit these new files and set the following properties:

      config/server-1.properties:
      broker.id=1
      listeners=PLAINTEXT://:9093
      port=9093
      log.dir=/tmp/kafka-logs-1

      config/server-2.properties:
      broker.id=2
      listeners=PLAINTEXT://:9094
      port=9094
      log.dir=/tmp/kafka-logs-2

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              baldrick Duncan Sands
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: