在配置文件中配置多个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









* Finds a {@link Set} of {@link BeanDefinitionHolder BeanDefinitionHolders} whose bean type annotated
     * {@link Service} Annotation.
     *
     * @param scanner       {@link ClassPathBeanDefinitionScanner}
     * @param packageToScan pachage to scan
     * @param registry      {@link BeanDefinitionRegistry}
     * @return non-null
     * @since 2.5.8
     */
    private Set<BeanDefinitionHolder> findServiceBeanDefinitionHolders(
            ClassPathBeanDefinitionScanner scanner, String packageToScan, BeanDefinitionRegistry registry,
            BeanNameGenerator beanNameGenerator) {
        Set<BeanDefinition> beanDefinitions = scanner.findCandidateComponents(packageToScan);
        Set<BeanDefinitionHolder> beanDefinitionHolders = new LinkedHashSet<>(beanDefinitions.size());
        for (BeanDefinition beanDefinition : beanDefinitions) {
            String beanName = beanNameGenerator.generateBeanName(beanDefinition, registry);
            BeanDefinitionHolder beanDefinitionHolder = new BeanDefinitionHolder(beanDefinition, beanName);
            beanDefinitionHolders.add(beanDefinitionHolder);
        }
        return beanDefinitionHolders;
    }
    /**
     * Registers {@link ServiceBean} from new annotated {@link Service} {@link BeanDefinition}
     *
     * @param beanDefinitionHolder
     * @param registry
     * @param scanner
     * @see ServiceBean
     * @see BeanDefinition
     */