We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed43537 commit 2e6fe07Copy full SHA for 2e6fe07
server-common/src/main/java/org/apache/kafka/server/common/FinalizedFeatures.java
@@ -48,6 +48,17 @@ public FinalizedFeatures(
48
}
49
50
51
+ // Internal constructor only for copying FinalizedFeatures.
52
+ private FinalizedFeatures(
53
+ MetadataVersion metadataVersion,
54
+ Map<String, Short> finalizedFeatures,
55
+ long finalizedFeaturesEpoch
56
+ ) {
57
+ this.metadataVersion = metadataVersion;
58
+ this.finalizedFeatures = new HashMap<>(finalizedFeatures);
59
+ this.finalizedFeaturesEpoch = finalizedFeaturesEpoch;
60
+ }
61
+
62
public MetadataVersion metadataVersion() {
63
return metadataVersion;
64
0 commit comments