[
https://issues.apache.org/jira/browse/KAFKA-9863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17085487#comment-17085487
]
Luke Chen commented on KAFKA-9863:
----------------------------------
PR: https://github.com/apache/kafka/pull/8482
> 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)