startjava commented on issue #8364: URL: https://github.com/apache/dubbo/issues/8364#issuecomment-888724798
# Spring boot application dubbo.application.name=Provider spring.application.name=dubbo-registry-nacos-provider-sample # Base packages to scan Dubbo Component: @org.apache.dubbo.config.annotation.Service dubbo.scan.base-packages=com.ghy.www.remote # Dubbo Application ## The default value of dubbo.application.name is ${spring.application.name} ## dubbo.application.name=${spring.application.name} nacos.server-address=127.0.0.1 nacos.port=8848 nacos.username=nacos nacos.password=nacos # Dubbo Protocol dubbo.protocol.name=dubbo ## Random port dubbo.protocol.port=-1 ## Dubbo Registry dubbo.registry.address=nacos://${nacos.server-address}:${nacos.port}/?username=${nacos.username}&password=${nacos.password} ## DemoService version demo.service.version=1.0.0 配置文件如上,这是官方DEMO中的。 -- 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: notifications-unsubscr...@dubbo.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org