...
This KIP change an argument of several command-line tools, we already supported--bootstrap-server/broker-list/zookeeper in command-line tools, we will use localhost:9092 as default value if none of these params provided.
Command Name | Status | Changes Needed |
---|
kafka-acls.sh |
Supports Supports only --bootstrap-server | add default value |
kafka-broker-api-versions.sh |
Supports Supports only --bootstrap-server | add default value |
kafka-cluster.sh | Supports only --bootstrap-server | add default value |
kafka-configs.sh | Supports both --zookeeper and --bootstrap-server | add default value if none of -zookeeper and --bootstrap-server provided |
kafka-console-consumer.sh | Supports only --bootstrap-server | add default value |
kafka-console-producer. |
sh Supports | Supports --bootstrap-server and --broker-list |
| add default value if none of -broker-list and --bootstrap-server provided |
kafka-consumer-groups. |
sh Supports sh | Supports only --bootstrap- |
server add server | add default value |
kafka-consumer-perf-test. |
sh Supports | Supports --bootstrap-server and --broker- |
list add list | add default value if none of -broker-list and --bootstrap-server provided |
kafka-delegation-tokens. |
sh Supports | Supports only --bootstrap- |
server add server | add default value |
kafka-delete-records. |
sh Supports sh | Supports only --bootstrap- |
server add server | add default value |
kafka-dump-log. |
sh Supports no server nonesh | Supports no server | none |
kafka-features. |
sh Supports | Supports only --bootstrap- |
server add server | add default value |
kafka-get-offsets. |
sh Supports sh | Supports --bootstrap-server and --broker- |
list add list | add default value if none of -broker-list and --bootstrap-server provided |
kafka-leader-election. |
sh Supports sh | Supports only ---bootstrap- |
server add server | add default value |
kafka-log-dirs. |
sh Supports sh | Supports only ---bootstrap- |
server add server | add default value |
kafka-metadata-shell. |
sh Supports args noneargs | none |
kafka-producer-perf-test. |
sh Supports no server args nonesh | Supports no server args | none |
kafka-reassign-partitions. |
sh Supports | Supports only --bootstrap- |
server server | add default value |
kafka-replica-verification. |
sh Supports sh | Supports only --broker- |
list add | add default value |
kafka-run-class.sh kafka-server-start.sh kafka-server-stop.sh kafka-storage.sh | Supports no server |
args none | none |
kafka-streams-application-reset. |
sh Supports sh | Supports only --bootstrap- |
server server | add default value |
kafka-topics. |
sh Supports sh | Supports only --bootstrap- |
server server | add default value |
kafka-transactions. |
sh Supports sh | Supports only --bootstrap- |
server server | add default value |
kafka-verifiable-consumer.sh kafka-verifiable-producer. |
sh Supports | Supports --bootstrap-server and --broker- |
list add list | add default value if none of -broker-list and --bootstrap-server provided |
trogdor. |
sh Supports no server args nonesh | Supports no server args | none |
zookeeper-security-migration.sh zookeeper-server-start.sh zookeeper-server-stop.sh zookeeper-shell. |
sh Supports zookeeper none
Proposed Changes
New implementation all these commands does not change the interactions between the tool and the brokers, the only change is they can be used without --bootstrap-server(or broker-list)
...
Compatibility, Deprecation, and Migration Plan
- What impact (if any) will there be on existing users?
- If we are changing behavior how will we phase out the older behavior?
- If we need special migration tools, describe them here.
- When will we remove the existing behavior?
Rejected Alternatives
This is a compatible change and any old client tools will still be working normally.
Rejected Alternatives
For client tools supports only --zookeeperl, use localhost:2181 as default zookeeper address, I don't think this is worth doing since KIP-500 is removing all zookeeper codeIf there are alternative ways of accomplishing the same thing, what were they? The purpose of this section is to motivate why the design is the way it is and not some other way.