如何使用Java SDK连接开启NACOS_AUTH_TOKEN的Nacos实例?
获取全部实例描述获取服务下的所有实例。
List getAllInstances(String serviceName) throws NacosException;
List getAllInstances(String serviceName, String groupName) throws NacosException;
List getAllInstances(String serviceName, boolean subscribe) throws NacosException;
List getAllInstances(String serviceName, String groupName, boolean subscribe) throws NacosException;
List getAllInstances(String serviceName, List clusters) throws NacosException;
List getAllInstances(String serviceName, String groupName, List clusters) throws NacosException;
List getAllInstances(String serviceName, List clusters, boolean subscribe) throws NacosException;
List getAllInstances(String serviceName, String groupName, List clusters, boolean subscribe) t
参考文档https://nacos.io/docs/latest/manual/user/java-sdk/usage/#43-%E8%8E%B7%E5%8F%96%E5%85%A8%E9%83%A8%E5%AE%9E%E4%BE%8B
赞0
踩0