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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.4.1
    • 2.5.1
    • docs, documentation
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: