@staticmethod
def get_settings(path, servings_zk_path=None, use_zk=False, hosts=None, server_conf_path=''):
    if (servings_zk_path and use_zk):
        return CenterConfig.get_servings_from_zookeeper(servings_zk_path, hosts)
    return CenterConfig.get_settings_from_file(path, server_conf_path)
@staticmethod
def get_settings(path, servings_zk_path=None, use_zk=False, hosts=None, server_conf_path=):
    if (servings_zk_path and use_zk):
        return CenterConfig.get_servings_from_zookeeper(servings_zk_path, hosts)
    return CenterConfig.get_settings_from_file(path, server_conf_path)