public ZkMigrationLeadershipState withKRaftMetadataOffsetAndEpoch(long metadataOffset,
                                                                      int metadataEpoch) {
        return new ZkMigrationLeadershipState(
            this.kraftControllerId,
            this.kraftControllerEpoch,
            metadataOffset,
            metadataEpoch,
            this.lastUpdatedTimeMs,
            this.migrationZkVersion,
            this.zkControllerEpoch,
            this.zkControllerEpochZkVersion);
    }
A Kafka-internal constant used to indicate that the znode version is unknown. See ZkVersion.UnknownVersion.
metadata/src/main/java/org/apache/kafka/metadata/migration/ZkMigrationLeadershipState.java