Table of Contents |
---|
Status
Current state: Under Discussion Accepted
Discussion thread:
JIRA: none yet here
JIRA:
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
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:
Command Name | Changes Needed | |||
---|---|---|---|---|
kafka-configs.sh | Support --zookeeper only for pre-startup connection initialization | |||
kafka-preferred-leaderreplica-election.sh | Remove this tool | |||
kafka-reassign-partition.sh | Remove --zookeeper flag | |||
kafka-preferred-leader-electiontopics.sh | Remove --zookeeper flag | |||
kafka- | reassign-partitionacls.sh | Remove --zookeeper flag | kafka-topics.sh | Remove --zookeeper flagDeprecate 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.
...