Commit 3fd1604
committed
ISSUE #6264: Add updateBrokerConfig admin command
Introduce a broker admin subcommand for updating broker
configuration on one broker or across an entire cluster.
Allow either a single key/value pair or multiple KEY=VALUE
entries so operators can apply related config changes in one
operation.
Validate inputs before applying updates, including empty-value
checks and compatibility checks against existing value types,
to reduce avoidable misconfiguration risk.
Show old and new values per broker before execution for safer
change confirmation, and add rollback support for partial
failures to preserve cluster consistency.1 parent 61c399e commit 3fd1604
File tree
4 files changed
+711
-0
lines changed- rocketmq-tools/rocketmq-admin/rocketmq-admin-core/src
- commands
- broker_commands
4 files changed
+711
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
200 | 205 | | |
201 | 206 | | |
202 | 207 | | |
| |||
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
77 | 86 | | |
78 | 87 | | |
79 | 88 | | |
| 89 | + | |
80 | 90 | | |
81 | 91 | | |
82 | 92 | | |
0 commit comments