当我的 spring boot 在类路径上有 spring-cloud 和 azure-spring-boot 依赖项时,它大约需要 7-8 分钟才能启动。Azure 密钥保管库用于设置环境属性,如数据库用户名和密码等。Spring Cloud附带一些自定义的第三方SDK。
日志已满,包含以下内容:
c.m.aad.adal4j.AuthenticationAuthority : [相关 ID: 57ca7499-728d-4827-9099-febdbf7b77fa] 实例发现成功,它永无止境。
此问题似乎与此处报告的问题类似: https://github.com/microsoft/azure-spring-boot/issues/637
如果确认是同一问题,则应该已经在 https://github.com/microsoft/azure-spring-boot/pull/882 中修复
如果速度缓慢的问题仍然存在,请提交 Azure 支持票证以获取帮助。