You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Luke Chen (Jira)" <ji...@apache.org> on 2020/04/14 11:23:00 UTC

[jira] [Updated] (KAFKA-9863) update the deprecated --zookeeper option in the documentation into --bootstrap-server

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

Luke Chen updated KAFKA-9863:
-----------------------------
    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.
{code:java}
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.{code}

  was:
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.
{code:java}
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.{code}


> update the deprecated --zookeeper option in the documentation into --bootstrap-server
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-9863
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9863
>             Project: Kafka
>          Issue Type: Bug
>          Components: docs, documentation
>    Affects Versions: 2.4.1
>            Reporter: Luke Chen
>            Assignee: Luke Chen
>            Priority: Major
>
> 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.
> {code:java}
> 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.{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)