Issue 1:
I have searched the issues of this repository and believe that this is not a duplicate.

I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.1

Operating System version: mac os 10.14.4

Java version: 1.8

Steps to reproduce this issue

Spring Boot Dubbo Consul start

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

What actually happens?

If there is an exception, please attach the exception trace:

java.lang.IllegalStateException: Failed to register dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&application=ejlerp-cache-provider&application.version=master&bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&default.deprecated=false&default.dynamic=false&default.register=true&default.retries=0&default.timeout=6000&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.ejlerp.cache.api.HashCacher&methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&organization=egenie&owner=dani&pid=11049&register=true&release=2.7.1&revision=10.0.0-SNAPSHOT&side=provider&threadpool=cached&timestamp=1554355820115&version=0.1 to registry 192.168.0.230:8500, cause: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&application=ejlerp-cache-provider&application.version=master&bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&default.deprecated=false&default.dynamic=false&default.register=true&default.retries=0&default.timeout=6000&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.ejlerp.cache.api.HashCacher&methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&organization=egenie&owner=dani&pid=11049&register=true&release=2.7.1&revision=10.0.0-SNAPSHOT&side=provider&threadpool=cached&timestamp=1554355820115&version=0.1'): Value is too long (limit: 512 characters)')
at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:244)
at org.apache.dubbo.registry.consul.ConsulRegistry.register(ConsulRegistry.java:90)
at org.apache.dubbo.registry.integration.RegistryProtocol.register(RegistryProtocol.java:160)
at org.apache.dubbo.registry.integration.RegistryProtocol.export(RegistryProtocol.java:194)
at org.apache.dubbo.rpc.protocol.ProtocolFilterWrapper.export(ProtocolFilterWrapper.java:106)
at org.apache.dubbo.rpc.protocol.ProtocolListenerWrapper.export(ProtocolListenerWrapper.java:55)
at org.apache.dubbo.qos.protocol.QosProtocolWrapper.export(QosProtocolWrapper.java:61)
at org.apache.dubbo.rpc.Protocol$Adaptive.export(Protocol$Adaptive.java)
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:559)
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:417)
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:375)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:337)
at org.apache.dubbo.config.spring.ServiceBean.export(ServiceBean.java:319)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:113)
at org.apache.dubbo.config.spring.ServiceBean.onApplicationEvent(ServiceBean.java:59)
at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:400)
at org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:354)
at org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:886)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:161)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:551)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:386)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:307)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1242)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1230)
at com.ejlerp.cache.CacheProvider.main(CacheProvider.java:20)
Caused by: com.ecwid.consul.v1.OperationException: OperationException(statusCode=400, statusMessage='Bad Request', statusContent='Invalid Service Meta: Couldn't load metadata pair ('url', 'dubbo://192.168.0.184:20880/com.ejlerp.cache.api.HashCacher?anyhost=true&application=ejlerp-cache-provider&application.version=master&bean.name=providers:dubbo:com.ejlerp.cache.api.HashCacher:0.1&default.deprecated=false&default.dynamic=false&default.register=true&default.retries=0&default.timeout=6000&deprecated=false&dubbo=2.0.2&dynamic=false&generic=false&interface=com.ejlerp.cache.api.HashCacher&methods=hasKey,keys,values,increment,del,expireAt,delete,ttl,put,exist,entries,size,get,putAll,expire,putIfAbsent&organization=egenie&owner=dani&pid=11049&register=true&release=2.7.1&revision=10.0.0-SNAPSHOT&side=provider&threadpool=cached&timestamp=1554355820115&version=0.1'): Value is too long (limit: 512 characters)')
at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:278)
at com.ecwid.consul.v1.agent.AgentConsulClient.agentServiceRegister(AgentConsulClient.java:265)
at com.ecwid.consul.v1.ConsulClient.agentServiceRegister(ConsulClient.java:305)
at org.apache.dubbo.registry.consul.ConsulRegistry.doRegister(ConsulRegistry.java:95)
at org.apache.dubbo.registry.support.FailbackRegistry.register(FailbackRegistry.java:231)

Issue 2:
[√] I have searched the issues of this repository and believe that this is not a duplicate.

[√] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: 2.7.3

Operating System version: MacOS 10

Java version: Oracle JDK 1.8

Steps to reproduce this issue

xxx

xxx

xxx

Pls. provide [GitHub address] to reproduce this issue.

Expected Result

What do you expected from the above steps？

Actual Result

Cannot configure zookeeper cluster address after using multiple registry

Only one address can be configured when using multiple:

<dubbo:registry address="
multiple://127.0.0.1?
reference-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603&amp;
service-registry=zookeeper://127.0.0.1:2182,sofa://127.0.0.1:9603"/>

If you use the backup field, could only add one more address:

<dubbo:registry address="
multiple://127.0.0.1?
reference-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603&amp;
service-registry=zookeeper://127.0.0.1:2182?backup=127.0.0.1:2181,sofa://127.0.0.1:9603"/>

The previous configuration is like this:

<dubbo:registry protocol="zookeeper" address="10.20.153.10:2181,10.20.153.11:2181,10.20.153.12:2181" />

Only two addresses can be configured that do not meet the needs of our production environment.