- [x] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
- [x] 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.1
* Operating System version: windows10
* Java version: java8

### Steps to reproduce this issue

I run the [code](https://github.com/dubbo-x/example/tree/master/java-dubbo-consul2) by follow steps:

- docker run -p 8400:8400 -p 8500:8500 -p 8600:8600 -d consul
- run provider
- run consumer

### Actual Result

- provider runs ok
- consumer fail with `no provider available`

So I trace the register and subscribe process:

- provider register result show below

![register](https://user-images.githubusercontent.com/16648345/59485088-f48b5c80-8ea6-11e9-9be1-63a02472150d.png)

and we can see it use `url.getServiceInterface()` as service name (this example is `dubbo.DubboService`)

https://github.com/apache/dubbo/blob/6f3a05ca820dc6e3dab127cd9a5daa375709347a/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java#L255-L265

- however if we add group and version info, consumer will use `url.getServiceKey()` to find service (this example is `dubbo-x/dubbo.DubboService:0.0.1`), which doesn't equal the service name

https://github.com/apache/dubbo/blob/6f3a05ca820dc6e3dab127cd9a5daa375709347a/dubbo-registry/dubbo-registry-consul/src/main/java/org/apache/dubbo/registry/consul/ConsulRegistry.java#L141-L144

So consumer will not find the service if we add group and version info. Is my configuration wrong?

private static final Logger logger = LoggerFactory.getLogger(ConsulRegistry.class);
    private static final String SERVICE_TAG = "dubbo";
    private static final String URL_META_KEY = "url";
    private static final String WATCH_TIMEOUT = "consul-watch-timeout";
    private static final String CHECK_PASS_INTERVAL = "consul-check-pass-interval";
    private static final String DEREGISTER_AFTER = "consul-deregister-critical-service-after";
    private static final int DEFAULT_PORT = 8500;
    
    private static final int DEFAULT_WATCH_TIMEOUT = 60 * 1000;
    
    private static final long DEFAULT_CHECK_PASS_INTERVAL = 16000L;
    
    private static final String DEFAULT_DEREGISTER_TIME = "20s";
    private ConsulClient client;
    private long checkPassInterval;
    private ExecutorService notifierExecutor = newCachedThreadPool(
            new NamedThreadFactory("dubbo-consul-notifier", true));
    private ConcurrentMap<URL, ConsulNotifier> notifiers = new ConcurrentHashMap<>();
    private ScheduledExecutorService ttlConsulCheckExecutor;
    public ConsulRegistry(URL url) {
        super(url);