lamb007 commented on issue #11128:
URL: https://github.com/apache/dubbo/issues/11128#issuecomment-1356626502
感谢你的帮助。
我遇到了一个新问题
dubbo版本:2.7.3
在springboot中配置多注册中心:
`dubbo:
application:
name: user-provider
protocol:
name: dubbo
# 协议端口
port: 20880
provider:
filter: -exception
registries:
beijingRegistry: # 注册中心名称
address: zookeeper://xxx.xxx.xxx.xxx:2181
register: true`
启动springboot服务时失败:
`Description:
Configuration property name 'dubbo.registries.beijingRegistry' is not valid:
Invalid characters: 'R'
Bean: beijingRegistry
Reason: Canonical names should be kebab-case ('-' separated), lowercase
alpha-numeric characters and must start with a letter
Action:
Modify 'dubbo.registries.beijingRegistry' so that it conforms to the
canonical names requirements.`
修改为beijing-registry后仍然失败:
`Description:
A component required a bean named 'registryDefault' that could not be found.
Action:
Consider defining a bean named 'registryDefault' in your configuration.`
请问如何在2.7.3中通过application.yml配置dubbo
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]