[
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)