Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Status

Current state: Under Discussion Accepted

Discussion thread:
JIRA: none yet here

JIRA

Jira
serverASF JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-9945
Jira
serverASF JIRA
columnskey,summary,type,created,updated,due,assignee,reporter,priority,status,resolution
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-10104

Please keep the discussion on the mailing list rather than commenting on the wiki (wiki discussions get unwieldy fast).

...

The --zookeeper flag will be removed from all the places where it was deprecated in KIP-555, with only one exception which will be described in a little bit.

We will also remove support for the --authorizer in the ACL command. This was previously allowed for writes directly to the Zookeeper-based authorizer. Now support for changing ACLs is supported through the admin client (see KIP-332: Update AclCommand to use AdminClient API).

Here is a table of all the changes:

reassign-partitionRemove --zookeeper flag
Command NameChanges Needed
kafka-configs.shSupport --zookeeper only for pre-startup connection initialization
kafka-preferred-leaderreplica-election.shRemove this tool
kafka-reassign-partition.shRemove --zookeeper flag
kafka-preferred-leader-electiontopics.shRemove --zookeeper flag
kafka-acls.shRemove --zookeeper flagkafka-topics.shDeprecate and eventually remove --authorizer, --authorizer-properties, and --zk-tls-config-file

kafka-preferred-replica-election.sh

kafka-preferred-replica-election.sh will be removed.  It has been deprecated in favor of kafka-leader-election.sh for some time.

kafka-configs.sh changes

Unlike all the other tools, kafka-configs.sh will keep the --zookeeper flag.  It will be allowed only in two scenarios:

...

We will support --if-exists and --if-not-exists when --bootstrap-server is specified.  Previously, this was only supported if --zookeeper was specified.

kafka-acls.sh changes

In kafka-acls.sh, support for directly updating ACLs through AclAuthorizer extensions will be deprecated and eventually removed in a major release. Instead users will be expected to update ACLs through the admin client by providing the --bootstrap-server argument.

Compatibility, Deprecation, and Migration Plan

...

The flags that are being removed immediately (excluding kafka-acls.sh) have already been deprecated for at least one release. 

The migration plan is to use --bootstrap-server for these commands instead.

...