You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "startjava (GitHub)" <gi...@apache.org> on 2019/10/29 04:05:56 UTC

[GitHub] [dubbo] startjava opened issue #5258: why show this : Ignore empty notify urls for subscribe url

- [ ] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [ ] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.

### Environment

* Dubbo version: 2.7.4.1
* Operating System version: win7
* Java version: 1.8

Java Code:
package com.ghy.www;

import com.ghy.www.dubbo.provider.service.ISayHello;
import com.ghy.www.dubbo.provider.service.SayHello;
import org.apache.dubbo.config.ApplicationConfig;
import org.apache.dubbo.config.RegistryConfig;
import org.apache.dubbo.config.ServiceConfig;

import java.io.IOException;

public class Application1 {
    public static void main(String[] args) throws IOException {
        SayHello helloService = new SayHello();
        // 服务配置
        ServiceConfig<ISayHello> serviceConfig = new ServiceConfig<ISayHello>();
        // 设置应用名称
        serviceConfig.setApplication(new ApplicationConfig("dubbo2-server"));
        // 设置注册中心
        serviceConfig.setRegistry(new RegistryConfig("multicast://224.5.6.7:1234?unicast=false"));
        // 设置业务接口
        serviceConfig.setInterface(ISayHello.class);
        // 设置业务实现类
        serviceConfig.setRef(helloService);
        // 发布服务
        serviceConfig.export();
        // 进程不销毁
        System.in.read();

    }

}

run after show WARN:
main  WARN multicast.MulticastRegistry:  [DUBBO] Ignore empty notify urls for subscribe url provider://192.168.61.250:20880/com.ghy.www.dubbo.provider.service.ISayHello?anyhost=true&application=dubbo2-server&bind.ip=192.168.61.250&bind.port=20880&category=configurators&check=false&deprecated=false&dubbo=2.0.2&dynamic=true&generic=false&interface=com.ghy.www.dubbo.provider.service.ISayHello&methods=sayHello&pid=9900&release=2.7.4.1&side=provider&timestamp=1572321725880, dubbo version: 2.7.4.1, current host: 192.168.61.250

why ?
thank very much!



[ Full content available at: https://github.com/apache/dubbo/issues/5258 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [dubbo] maxiaodong58 commented on issue #5258: why show this : Ignore empty notify urls for subscribe url

Posted by "maxiaodong58 (GitHub)" <gi...@apache.org>.
> category

注册中心    :nacos 
dubbo版本 : 2.7.3

心跳检测 抛这个异常。不懂什么意思!

[ Full content available at: https://github.com/apache/dubbo/issues/5258 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org

[GitHub] [dubbo] chickenlj commented on issue #5258: why show this : Ignore empty notify urls for subscribe url

Posted by "chickenlj (GitHub)" <gi...@apache.org>.
That means it's an empty notification of configuratos: `category=configurators`

[ Full content available at: https://github.com/apache/dubbo/issues/5258 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org


[GitHub] [dubbo] chickenlj closed issue #5258: why show this : Ignore empty notify urls for subscribe url

Posted by "chickenlj (GitHub)" <gi...@apache.org>.
[ issue closed by chickenlj ]

[ Full content available at: https://github.com/apache/dubbo/issues/5258 ]
This message was relayed via gitbox.apache.org for notifications@dubbo.apache.org