private static SharedClusterProperties getClusterProperties(
            SharedClusterProperties clusterPropertiesSource,
            TurmsProperties turmsProperties) {
        CommonProperties commonProperties =
                SharedClusterProperties.getCommonProperties(turmsProperties);
        GatewayProperties gatewayProperties = turmsProperties.getGateway();
        ServiceProperties serviceProperties = turmsProperties.getService();
        return clusterPropertiesSource.toBuilder()
                .commonProperties(commonProperties)
                .gatewayProperties(gatewayProperties)
                .serviceProperties(serviceProperties)
                .turmsProperties(turmsProperties)
                .build();
    }
@implNote We don't support the partial update by {@link java.util.Map} because there is not
          an efficient way to update nested objects of a document in MongoDB.
turms-server-common/src/main/java/im/turms/server/common/infra/cluster/service/config/SharedPropertyService.java