Skip to content

Commit

Permalink
dubbo study
Browse files Browse the repository at this point in the history
  • Loading branch information
qinfuxiang committed Feb 7, 2022
1 parent afd5af4 commit 2948eba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
package fast.cloud.nacos.dubbo.server;

import com.alibaba.dubbo.config.annotation.Reference;
import fast.cloud.nacos.dubbo.api.HelloService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient
public class FastDubboServerApplication {
@Reference
HelloService helloService;

public static void main(String[] args) {
SpringApplication.run(FastDubboServerApplication.class, args);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ spring:
cloud:
nacos:
discovery:
server-addr: localhost:8848
server-addr: 192.168.56.101:8848
main:
allow-bean-definition-overriding: true

0 comments on commit 2948eba

Please sign in to comment.