摘要:
一.监听服务 naming.subscribe("nacos.test.3", new EventListener() { @Override public void onEvent(Event event) { System.out.println(((NamingEvent) event).ge 阅读全文
摘要:
一.服务注册 naming.registerInstance("nacos.test.3", "10.0.4.221", 8081, "TEST1"); 二.参数解析 @Override public void registerInstance(String serviceName, String 阅读全文