dubbo
dubbo copied to clipboard
dubbo:consumer
Call multiple services with YML file configuration in spring boot. How can version be set in YML in @ reference?
you can use the parameter you define in YML directly. such as ` @Configuration public static class ConsumerConfiguration {
// myapp.version and myapp.group have been defined in YML
@Reference(group = "${myapp.group}", version = "${myapp.version}")
private HelloService helloService;
}`