博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
dubbo-官方demo
阅读量:6654 次
发布时间:2019-06-25

本文共 20365 字,大约阅读时间需要 67 分钟。

参考

http://dubbo.apache.org/zh-cn/docs/user/quick-start.html

http://dubbo.apache.org/zh-cn/docs/admin/install/provider-demo.html

前提

如果注册中心是zookeeper,需要先安装zookeeper。并且启动zookeeper服务器端。

步骤

配置注册中心地址

运行服务提供者

步骤

1.启动
2.一直提供服务

注:如果注册中心是多播模式,运行之前,需要添加jvm参数: -Djava.net.preferIPv4Stack=true

服务提供者和服务消费者都要添加。

https://blog.csdn.net/garylongqq/article/details/52014617

[09/03/19 12:36:27:287 CST] main  INFO logger.LoggerFactory: using logger: org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter[09/03/19 12:36:27:538 CST] main  WARN config.AbstractConfig:  [DUBBO] There's no valid metadata config found, if you are using the simplified mode of registry url, please make sure you have a metadata address configured properly., dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:611 CST] main  INFO config.AbstractConfig:  [DUBBO] Export dubbo service org.apache.dubbo.demo.DemoService to local registry, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:611 CST] main  INFO config.AbstractConfig:  [DUBBO] Export dubbo service org.apache.dubbo.demo.DemoService to url dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:612 CST] main  INFO config.AbstractConfig:  [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:613 CST] main  INFO config.AbstractConfig:  [DUBBO] Register dubbo service org.apache.dubbo.demo.DemoService url dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 to registry registry://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?application=dubbo-demo-api-provider&dubbo=2.0.2&pid=1177&registry=multicast&release=2.7.0-SNAPSHOT&timestamp=1552106187539, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:778 CST] main  INFO server.Server:  [DUBBO] qos-server bind localhost:22222, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:819 CST] main  INFO transport.AbstractServer:  [DUBBO] Start NettyServer bind /0.0.0.0:20880, export /192.168.1.100:20880, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:835 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Register: dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:836 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: register dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:836 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Subscribe: provider://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&category=configurators&check=false&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:836 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: register dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:837 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: subscribe provider://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&category=configurators&check=false&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:27:837 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: subscribe provider://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&category=configurators&check=false&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:36:28:839 CST] main  WARN multicast.MulticastRegistry:  [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&bind.ip=192.168.1.100&bind.port=20880&category=configurators&check=false&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100复制代码

运行服务消费者

//运行服务消费者

[09/03/19 12:40:40:845 CST] main  INFO logger.LoggerFactory: using logger: org.apache.dubbo.common.logger.log4j.Log4jLoggerAdapter[09/03/19 12:40:41:105 CST] main  WARN config.AbstractConfig:  [DUBBO] There's no valid metadata config found, if you are using the simplified mode of registry url, please make sure you have a metadata address configured properly., dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:130 CST] main  INFO config.AbstractConfig:  [DUBBO] There's no valid monitor config found, if you want to open monitor statistics for Dubbo, please make sure your monitor is configured properly., dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:176 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Register: consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:176 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: register consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:177 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: register consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:187 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Subscribe: consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:187 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: subscribe consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:187 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: subscribe consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:188 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: register dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:188 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Notify urls for subscribe url consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, urls: [dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546], dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:429 CST] DubboMulticastRegistryReceiver  INFO transport.AbstractClient:  [DUBBO] Successed connect to server /192.168.1.100:20880 from NettyClient 192.168.1.100 using dubbo version 2.7.0-SNAPSHOT, channel is NettyChannel [channel=[id: 0xecff3f99, L:/192.168.1.100:51358 - R:/192.168.1.100:20880]], dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:430 CST] DubboMulticastRegistryReceiver  INFO transport.AbstractClient:  [DUBBO] Start NettyClient gongzhihaodeMacBook-Pro.local/192.168.1.100 connect to the server /192.168.1.100:20880, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:463 CST] main  INFO multicast.MulticastRegistry:  [DUBBO] Notify urls for subscribe url consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, urls: [dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-provider&dubbo=2.0.2&generic=false&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1177&release=2.7.0-SNAPSHOT&side=provider&timestamp=1552106187546], dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:466 CST] main  INFO config.AbstractConfig:  [DUBBO] Refer dubbo service org.apache.dubbo.demo.DemoService from url multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?anyhost=true&application=dubbo-demo-api-consumer&check=false&dubbo=2.0.2&generic=false&group=&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&register.ip=192.168.1.100&release=2.7.0-SNAPSHOT&remote.application=dubbo-demo-api-provider&remote.timestamp=1552106187546&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100//Hello dubbo, response from provider: 192.168.1.100:20880 //调用远程服务//服务消费者执行完毕关闭[09/03/19 12:40:41:629 CST] DubboShutdownHook  INFO config.DubboShutdownHook:  [DUBBO] Run shutdown hook now., dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:629 CST] DubboShutdownHook  INFO support.AbstractRegistryFactory:  [DUBBO] Close all registries [multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?application=dubbo-demo-api-consumer&dubbo=2.0.2&interface=org.apache.dubbo.registry.RegistryService&pid=1191&release=2.7.0-SNAPSHOT&timestamp=1552106441127], dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:629 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Destroy registry:multicast://224.5.6.7:1234/org.apache.dubbo.registry.RegistryService?application=dubbo-demo-api-consumer&dubbo=2.0.2&interface=org.apache.dubbo.registry.RegistryService&pid=1191&release=2.7.0-SNAPSHOT&timestamp=1552106441127, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:629 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Unregister: consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:629 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: unregister consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Destroy unregister url consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: unregister consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=consumers&check=false&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Unsubscribe: consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Unregister: consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: unregister consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Send multicast message: unsubscribe consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 to /224.5.6.7:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: unregister consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboShutdownHook  INFO multicast.MulticastRegistry:  [DUBBO] Destroy unsubscribe url consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:630 CST] DubboMulticastRegistryReceiver  INFO multicast.MulticastRegistry:  [DUBBO] Receive multicast message: unsubscribe consumer://192.168.1.100/org.apache.dubbo.demo.DemoService?application=dubbo-demo-api-consumer&category=providers,configurators,routers&dubbo=2.0.2&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&release=2.7.0-SNAPSHOT&side=consumer&timestamp=1552106441106 from /192.168.1.100:1234, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:632 CST] DubboShutdownHook  INFO dubbo.DubboProtocol:  [DUBBO] Close dubbo connect: /192.168.1.100:51358-->/192.168.1.100:20880, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:633 CST] DubboShutdownHook  INFO netty4.NettyChannel:  [DUBBO] Close netty channel [id: 0xecff3f99, L:/192.168.1.100:51358 - R:/192.168.1.100:20880], dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:634 CST] DubboShutdownHook  INFO dubbo.DubboProtocol:  [DUBBO] Close dubbo connect: 192.168.1.100:0-->192.168.1.100:20880, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100[09/03/19 12:40:41:634 CST] DubboShutdownHook  INFO dubbo.DubboProtocol:  [DUBBO] Destroy reference: dubbo://192.168.1.100:20880/org.apache.dubbo.demo.DemoService?anyhost=true&application=dubbo-demo-api-consumer&check=false&dubbo=2.0.2&generic=false&group=&interface=org.apache.dubbo.demo.DemoService&methods=sayHello&pid=1191&register.ip=192.168.1.100&release=2.7.0-SNAPSHOT&remote.application=dubbo-demo-api-provider&remote.timestamp=1552106187546&side=consumer&timestamp=1552106441106, dubbo version: 2.7.0-SNAPSHOT, current host: 192.168.1.100复制代码

转载于:https://juejin.im/post/5c8358ff6fb9a049a571b5ed

你可能感兴趣的文章
ios中PagedFlowView的用法
查看>>
pcl_view简单使用
查看>>
[数据安全] 一个简洁快速的去数据特征的混淆算法(obfuscate)
查看>>
Android开源框架:初识ButterKnife
查看>>
[待补充]面向接口编程,数据驱动编程
查看>>
bzoj1502: [NOI2005]月下柠檬树
查看>>
拓扑排序
查看>>
100道java基础面试题
查看>>
docker基本使用
查看>>
java学习笔记 --- 异常
查看>>
正则化
查看>>
js练习——图片切换
查看>>
Android Studio 的 build 过程
查看>>
SQL Server查询数据库空间分配情况、数据库备份信息
查看>>
win8的几种关机方法。
查看>>
安装fastx_toolkit (gcc, pkg-config)
查看>>
mybatis自动生成的ExamMapper.xml方法总结
查看>>
Prim算法求最小生成树
查看>>
ajax请求解析springmvc返回的json数据
查看>>
【原】iOS学习42即时通信之XMPP(1)
查看>>