ableegoldman commented on a change in pull request #10411:
URL: https://github.com/apache/kafka/pull/10411#discussion_r604523228
##########
File path: core/src/main/scala/kafka/tools/StreamsResetter.java
##########
@@ -247,14 +247,13 @@ private void parseArguments(final String[] args) {
.describedAs("file name");
forceOption = optionParser.accepts("force", "Force the removal of
members of the consumer group (intended to remove stopped members if a long
session timeout was used). " +
"Make sure to shut down all stream applications when this
option is specified to avoid unexpected rebalances.");
- executeOption = optionParser.accepts("execute", "Execute the
command.");
+
+ // TODO: deprecated in 3.0 can be removed in a future release --
https://issues.apache.org/jira/browse/KAFKA-7606
+ executeOption = optionParser.accepts("execute", "This option is
deprecated and will be removed in a future release; it is not required to
specify this in order to execute the command");
Review comment:
I'm starting to feel more like we should just go ahead and remove the
`--execute` flag as well, it's not like there was a very visible deprecation
even of the `--zookeeper` flag, it wasn't logged if we used it and there wasn't
any note in the upgrade guide that I can see. Plus it's not like it's a huge
effort to migrate away from the `--execute`, you literally just need to drop it
from wherever you're invoking the reset tool -- doesn't seem to be that bad if
we just remove it and quote which KIP it was that deprecated it to show that it
was indeed voted on and deprecated. Probably no one uses it these days anyway.
Thoughts?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]