public static void validateClusterName(String clusterName) {
        if (StringUtils.isEmpty(clusterName)) {
            throw new IllegalArgumentException("clusterName should not be null");
        }
        if (clusterName.length() > 64) {
            throw new IllegalArgumentException("clusterName length should not great than 64");
        }
    }
@author Robert HG (254963746@qq.com) on 7/13/16.
lts-core/src/main/java/com/github/ltsopensource/core/support/ConfigValidator.java