public static TClusterParameters generateClusterParameters() {
    TClusterParameters clusterParameters = new TClusterParameters();
    clusterParameters.setClusterName("defaultCluster");
    clusterParameters.setConfigNodeConsensusProtocolClass(
        "org.apache.iotdb.consensus.simple.SimpleConsensus");
    clusterParameters.setDataRegionConsensusProtocolClass(
        "org.apache.iotdb.consensus.simple.SimpleConsensus");
    clusterParameters.setSchemaRegionConsensusProtocolClass(
        "org.apache.iotdb.consensus.simple.SimpleConsensus");
    clusterParameters.setSeriesPartitionSlotNum(1000);
    clusterParameters.setSeriesPartitionExecutorClass(
        "org.apache.iotdb.commons.partition.executor.hash.BKDRHashExecutor");
    clusterParameters.setTimePartitionInterval(604800000);
    clusterParameters.setDataReplicationFactor(1);
    clusterParameters.setSchemaReplicationFactor(1);
    clusterParameters.setDataRegionPerDataNode(0);
    clusterParameters.setSchemaRegionPerDataNode(1);
    clusterParameters.setDiskSpaceWarningThreshold(0.01);
    clusterParameters.setReadConsistencyLevel("strong");
    clusterParameters.setTimestampPrecision("ms");
    clusterParameters.setSchemaEngineMode("Memory");
    clusterParameters.setTagAttributeTotalSize(700);
    clusterParameters.setDatabaseLimitThreshold(-1);
    return clusterParameters;
  }
Generate a ConfigNode register request with the given ConfigNodeLocation and default
configurations

@param clusterName The target cluster name
@param configNodeWrapper The given ConfigNode
@return TConfigNodeRegisterReq for the given ConfigNode
integration-test/src/test/java/org/apache/iotdb/confignode/it/utils/ConfigNodeTestUtils.java