We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-
1 parent 2a70079 commit 55d3e00Copy full SHA for 55d3e00
1 file changed
metadata/src/main/java/org/apache/kafka/metadata/storage/Formatter.java
@@ -232,7 +232,8 @@ public BootstrapMetadata bootstrapMetadata() {
232
/**
233
* Validates the correctness of the given cluster id. A valid cluster id is a base64, urlencoded, no padding
234
* representation of a {@link Uuid}. These checks do not validate the absence of <code>-</code> character as
235
- * {@link Uuid#randomUuid()} avoids them only for convenience reasons.
+ * {@link Uuid#randomUuid()} avoids them only for convenience reasons and such a validation would break
236
+ * compatibility when attempting to format using an old cluster id.
237
*/
238
private void validateClusterId(String clusterId) {
239
if (clusterId == null) {
0 commit comments