在配置文件中配置多个consumer，可能@DubboReference引用不到正确consumer，永远只能取列表第一个consumer使用

server.port=8083

dubbo.application.name=rpc-two-consumer
dubbo.application.owner=com.test
dubbo.application.organization=test
dubbo.application.logger=slf4j
dubbo.application.compiler=javassist
dubbo.application.qosEnable=true

#RegistryConfig
dubbo.registries.registry-rpc-one.id=registry-rpc-one
dubbo.registries.registry-rpc-one.protocol=zookeeper
dubbo.registries.registry-rpc-one.client=curator
#两个不同集群的注册中心 其中一个
dubbo.registries.registry-rpc-one.address=localhost:2181
dubbo.registries.registry-rpc-one.group=dubbo/rpc-one-server

dubbo.consumers.consumer-rpc-one.registryIds=registry-rpc-one
dubbo.consumers.consumer-rpc-one.check=true
dubbo.consumers.consumer-rpc-one.timeout=15000

#dubbo.protocols.{protocol  bean name}.id
dubbo.registries.registry-rpc-two.id=registry-rpc-two
dubbo.registries.registry-rpc-two.protocol=zookeeper
dubbo.registries.registry-rpc-two.client=curator
#两个不同集群的注册中心 其中一个
dubbo.registries.registry-rpc-two.address=localhost:2181
dubbo.registries.registry-rpc-two.group=dubbo/rpc-two-server

dubbo.consumers.consumer-rpc-two.registryIds=registry-rpc-two
dubbo.consumers.consumer-rpc-two.check=true
dubbo.consumers.consumer-rpc-two.timeout=15000









import org.springframework.core.type.classreading.MetadataReaderFactory;
import org.springframework.core.type.filter.AnnotationTypeFilter;
import org.springframework.core.type.filter.TypeFilter;
import org.springframework.util.CollectionUtils;
import java.io.IOException;
import java.lang.annotation.Annotation;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.LinkedHashMap;
import java.util.LinkedHashSet;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import static com.alibaba.spring.util.ObjectUtils.of;
import static java.util.Arrays.asList;
import static org.apache.dubbo.common.utils.AnnotationUtils.filterDefaultValues;
import static org.apache.dubbo.common.utils.AnnotationUtils.findAnnotation;
import static org.apache.dubbo.config.spring.beans.factory.annotation.ServiceBeanNameBuilder.create;
import static org.apache.dubbo.config.spring.util.DubboAnnotationUtils.resolveInterfaceName;
import static org.springframework.beans.factory.support.BeanDefinitionBuilder.rootBeanDefinition;
import static org.springframework.context.annotation.AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR;
import static org.springframework.util.ClassUtils.resolveClassName;
/**
 * A {@link BeanFactoryPostProcessor} used for processing of {@link Service @Service} annotated classes and annotated bean in java config classes.
 * It's also the infrastructure class of XML {@link BeanDefinitionParser} on &lt;dubbbo:annotation /&gt;
 *
 *
 * @see AnnotationBeanDefinitionParser