开发者社区 > 云原生 > 正文

Redis作为注册中心 程序启动的时候执行不下去了

1、控制台输出到这就执行不下去了

2021-12-27 17:16:33.695 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.711 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.733 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.754 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.775 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.798 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.815 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.833 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built. 2021-12-27 17:16:33.852 [main] INFO org.apache.dubbo.config.spring.beans.factory.annotation.ReferenceBeanBuilder - The configBean[type:ReferenceBean] has been built.

2、相同情况的链接

https://ask.csdn.net/questions/1089992

3、发现还跟@DubboReference的数量有关

@DubboReference注入的对象数量少一点可以正常执行

版本 dubbo-registry-redis 2.7.8 dubbo-spring-boot-starter 2.7.8 jedis 2.9.0

原提问者GitHub用户shiloliao

展开
收起
大圣东游 2023-05-11 19:15:45 180 0
1 条回答
写回答
取消 提交回答
  • jedis的问题 配置spring.redis.jedis.pool.max-active不起作用 得配置dubbo.registry.parameters.max.total

    原回答者GitHub用户shiloliao

    2023-05-12 11:04:05
    赞同 展开评论 打赏

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
ApsaraDB for Redis——与创客同行 立即下载
微博的Redis定制之路 立即下载
云数据库Redis版的开源之路 立即下载