KAFKA-9519: Deprecating ZK for ConfigCommand#8056
Conversation
rondagostino
left a comment
There was a problem hiding this comment.
LGTM, minor suggestion on wording for consistency with other tools.
|
Thanks for the initial reviews @rondagostino @cmccabe! Updated the PR with the suggestions and responded to the comments as well. Ready for another round when you are |
|
The zkConnectOpt is deprecated now so should we define if (!options.has(bootstrapServerOpt) && !options.has(zkConnectOpt))
throw new IllegalArgumentException("One of the required --bootstrap-server or --zookeeper arguments must be specified") |
|
ok to test |
|
@cmccabe Seems as if there were some test failures, but not sure if they are related to my change - should we do a retest or is there something I have to change? |
Let's think about that for a follow-up PR. |
|
LGTM |
Reviewers: Colin P. McCabe <cmccabe@apache.org>, Ron Dagostino <rndgstn@gmail.com> (cherry picked from commit be4a6dd)
) Reviewers: Colin P. McCabe <cmccabe@apache.org>, Ron Dagostino <rndgstn@gmail.com> (cherry picked from commit be4a6dd)
…t-for-generated-requests * apache-github/trunk: (410 commits) KAFKA-8843: KIP-515: Zookeeper TLS support MINOR: Add missing quote for malformed line content (apache#8070) MINOR: Simplify KafkaProducerTest (apache#8044) KAFKA-9507; AdminClient should check for missing committed offsets (apache#8057) KAFKA-9519: Deprecate the --zookeeper flag in ConfigCommand (apache#8056) KAFKA-9509; Fixing flakiness of MirrorConnectorsIntegrationTest.testReplication (apache#8048) HOTFIX: Fix two test failures in JDK11 (apache#8063) DOCS - clarify transactionalID and idempotent behavior (apache#7821) MINOR: further InternalTopologyBuilder cleanup (apache#8046) MINOR: Add timer for update limit offsets (apache#8047) HOTFIX: Fix spotsbug failure in Kafka examples (apache#8051) KAFKA-9447: Add new customized EOS model example (apache#8031) KAFKA-8164: Add support for retrying failed (apache#8019) HOTFIX: checkstyle for newly added unit test KAFKA-9261; Client should handle unavailable leader metadata (apache#7770) MINOR: Fix typos introduced in KIP-559 (apache#8042) MINOR: Fixing null handilg in ValueAndTimestampSerializer (apache#7679) KAFKA-9113: Clean up task management and state management (apache#7997) MINOR: fix checkstyle issue in ConsumerConfig.java (apache#8038) KAFKA-9491; Increment high watermark after full log truncation (apache#8037) ...
As part of KIP-555, direct zookeeper access should be deprecated in the Kafka admin tools. This PR is the first of which to do so. This PR adds warnings for deprecation of the
--zookeeperoption for theConfigCommandinkafka-configs.sh.JIRA: https://issues.apache.org/jira/browse/KAFKA-9519
Committer Checklist (excluded from commit message)