sentinel 入门使用

二、应用程序开发

  1. pom 文件
   
        org.springframework.boot
        spring-boot-starter-parent
        2.0.8.RELEASE
    

    

        
            org.springframework.boot
            spring-boot-starter-web
        

        
            org.springframework.cloud
            spring-cloud-starter-alibaba-sentinel
            0.2.1.RELEASE

        


        
            org.projectlombok
            lombok
            1.18.2
        

        
            org.springframework.boot
            spring-boot-starter-test
            test
        

    
  1. application.yml
spring:
  application:
    name: sentinel-hello
spring:   
  cloud:
    sentinel:
      transport:
        dashboard: dev.sentinel.xxx.com:8080







你可能感兴趣的:(spring,cloud)