alibaba / alibaba-rsocket-broker

Alibaba RSocket Broker: Mesh, Streaming & IoT

Home Page:https://alibroker.info

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

com.alibaba.spring.boot.rsocket.RSocketRequesterSupportImpl#exposedServices:119行 if (version == null || group.isEmpty()) 是否缺陷?

sealte opened this issue · comments

Describe the bug
com.alibaba.spring.boot.rsocket.RSocketRequesterSupportImpl#exposedServices:
119行: if (version == null || group.isEmpty())
是否缺陷?

Environment

  • Alibaba RSocket Broker version: 1.1.2

不启用 group 配置,则version生效,但多个版本只会暴露其中一个,设计上故意为之?
启用 group 配置,则 version失效 ,是否缺陷?

It's bug :) Fixed by following code.

 if (version == null || version.isEmpty()) {
       version = rsocketService.version();
}