Skip to content

Commit e1d980a

Browse files
authored
MINOR: Remove unused ConfigCommandOptions#forceOpt (apache#19170)
This field is unused, and we should remove it. Reviewers: Chia-Ping Tsai <[email protected]>
1 parent a265328 commit e1d980a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

core/src/main/scala/kafka/admin/ConfigCommand.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,6 @@ object ConfigCommand extends Logging {
536536
.withRequiredArg
537537
.ofType(classOf[String])
538538
.withValuesSeparatedBy(',')
539-
val forceOpt: OptionSpecBuilder = parser.accepts("force", "Suppress console prompts")
540539
val topic: OptionSpec[String] = parser.accepts("topic", "The topic's name.")
541540
.withRequiredArg
542541
.ofType(classOf[String])

docs/upgrade.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@ <h6><a id="upgrade_410_notable" href="#upgrade_410_notable">Notable changes in 4
3030
</li>
3131
</ul>
3232
</li>
33+
<li><b>Command</b>
34+
<ul>
35+
<li>The <code>force</code> option of <code>ConfigCommand</code> has been removed, as it has been non-operational since version 0.10.1.0.
36+
</li>
37+
</ul>
38+
</li>
3339
</ul>
3440

3541
<h4><a id="upgrade_4_0_0" href="#upgrade_4_0_0">Upgrading to 4.0.0</a></h4>

0 commit comments

Comments
 (0)