group = StrUtil.EMPTY;
}
String tmpHost = setting.getString("host", group);
if(StrUtil.isBlank(tmpHost)) {
throw new NotInitedException("Host name is empy of group: " + group);
}
final int defaultPort = setting.getInt("port", group, 27017);
return new ServerAddress(NetUtil.buildInetSocketAddress(tmpHost, defaultPort));
}