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

update the deprecated --zookeeper option in the documentation into --bootstrap-server

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.1
    • Fix Version/s: 2.5.1
    • Component/s: docs, documentation
    • Labels:
      None

      Description

      Since V2.2.0, the -zookeeper option turned into deprecated because Kafka can directly connect to brokers with --bootstrap-server (KIP-377). But in the official documentation, there are many example commands use --zookeeper instead of --bootstrap-server. Follow the command in the documentation, you'll get this warning, which is not good.

      Warning: --zookeeper is deprecated and will be removed in a future version of Kafka.
      Use --bootstrap-server instead to specify a broker to connect to.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                showuon Luke Chen
                Reporter:
                showuon Luke Chen
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: