在properties里面配置多个
dubbo.registry.address=xxxxxx
dubbo.registry.aaa.address=xxxxxx
在xml里面配置
<dubbo:reference id="xx" interface="xxxx" version="1.0.0" registry="aaa"/>
就会报错 Too much registries found
实际上配置的dubbo.registry.aaa.address=xxxxxx 并不能根据aaa来匹配
![image](https://user-images.githubusercontent.com/54841788/68372350-9d4e9700-017b-11ea-95c9-425b66cce6fe.png)

org.apache.dubbo.config.AbstractInterfaceConfig.convertRegistryIdsToRegistries()
if (((List)tmpRegistries).size() > ids.length) {
                throw new IllegalStateException("Too much registries found, the registries assigned to this service are :" + this.registryIds + ", but got " + ((List)tmpRegistries).size() + " registries!");
            }
是不是应该需要在 tmpRegistries 里面根据 id 取对应的 Registries
"The registry config is: " + registryConfig);
            }
        }
    }
    public static void appendRuntimeParameters(Map<String, String> map) {
        map.put(DUBBO_VERSION_KEY, Version.getProtocolVersion());
        map.put(RELEASE_KEY, Version.getVersion());
        map.put(TIMESTAMP_KEY, String.valueOf(System.currentTimeMillis()));
        if (ConfigUtils.getPid() > 0) {
            map.put(PID_KEY, String.valueOf(ConfigUtils.getPid()));
        }
    }
    /**
     * Check whether the remote service interface and the methods meet with Dubbo's requirements.it mainly check, if the
     * methods configured in the configuration file are included in the interface of remote service
     *
     * @param interfaceClass the interface of remote service
     * @param methods        the methods configured
     */
    public void checkInterfaceAndMethods(Class<?> interfaceClass, List<MethodConfig> methods) {
        // 
        Assert.notNull(interfaceClass, new IllegalStateException("interface not allow null!"));
        // 
        if (!interfaceClass.isInterface()) {
            throw new IllegalStateException("The interface class " + interfaceClass + " is not a interface!");
        }
        // 
        if (CollectionUtils.isNotEmpty(methods)) {
            for (MethodConfig methodBean : methods) {
                methodBean.setService(interfaceClass.getName());