Skip to content

Commit 865beb6

Browse files
authored
MINOR: Remove explicit version list from upgrade.from docs (#20518)
That config has a `Validator` so we already automatically print the valid values in the generated docs: https://kafka.apache.org/documentation/#streamsconfigs_upgrade.from That will be one less place to upgrade each time we make a new release. Reviewers: Chia-Ping Tsai <[email protected]>
1 parent ff5025a commit 865beb6

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

streams/src/main/java/org/apache/kafka/streams/StreamsConfig.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -836,13 +836,7 @@ public class StreamsConfig extends AbstractConfig {
836836
private static final String UPGRADE_FROM_DOC = "Allows live upgrading (and downgrading in some cases -- see upgrade guide) in a backward compatible way. Default is <code>null</code>. " +
837837
"Please refer to the Kafka Streams upgrade guide for instructions on how and when to use this config. " +
838838
"Note that when upgrading from 3.5 to a newer version it is never required to specify this config, " +
839-
"while upgrading live directly to 4.0+ from 2.3 or below is no longer supported even with this config. " +
840-
"Accepted values are \"" + UPGRADE_FROM_24 + "\", \"" +
841-
UPGRADE_FROM_25 + "\", \"" + UPGRADE_FROM_26 + "\", \"" + UPGRADE_FROM_27 + "\", \"" +
842-
UPGRADE_FROM_28 + "\", \"" + UPGRADE_FROM_30 + "\", \"" + UPGRADE_FROM_31 + "\", \"" +
843-
UPGRADE_FROM_32 + "\", \"" + UPGRADE_FROM_33 + "\", \"" + UPGRADE_FROM_34 + "\", \"" +
844-
UPGRADE_FROM_35 + "\", \"" + UPGRADE_FROM_36 + "\", \"" + UPGRADE_FROM_37 + "\", \"" +
845-
UPGRADE_FROM_38 + "\", \"" + UPGRADE_FROM_39 + "\", \"" + "(for upgrading from the corresponding old version).";
839+
"while upgrading live directly to 4.0+ from 2.3 or below is no longer supported even with this config.";
846840

847841
/** {@code topology.optimization} */
848842
public static final String TOPOLOGY_OPTIMIZATION_CONFIG = "topology.optimization";

0 commit comments

Comments
 (0)