public static void validateNodeGroup(String nodeGroup) {
        if (StringUtils.isEmpty(nodeGroup)) {
            throw new IllegalArgumentException("nodeGroup should not be null");
        }
        if (nodeGroup.length() > 64) {
            throw new IllegalArgumentException("nodeGroup 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