alibaba / alibaba-rsocket-broker

Alibaba RSocket Broker: Mesh, Streaming & IoT
https://alibroker.info
Apache License 2.0
761 stars 166 forks source link

springBoot由2.3.4升级到2.7.10后rsocket不兼容 #234

Open darkleave opened 1 year ago

darkleave commented 1 year ago

2.3.4的springboot版本对应1.1.1版本是正常的,升级后 SpringBoot启动异常:


APPLICATION FAILED TO START


Description:

Field healthIndicators in com.alibaba.spring.boot.rsocket.health.RSocketServiceHealthImpl required a bean of type 'java.util.List' that could not be found.

The injection point has the following annotations:

Action:

Consider defining a bean of type 'java.util.List' in your configuration.

image

尝试了下1.1.4版本仍然存在这个问题,能麻烦下开发组提供下处理建议么

hupeiD commented 1 year ago

配置文件里,rsocket.brokers如果不是采用逗号分割的字符串格式,好像就会报这个错,具体原因没深究