seninel部署
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

49 rindas
1.8KB

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <artifactId>sentinel-demo</artifactId>
  7. <groupId>com.alibaba.csp</groupId>
  8. <version>1.7.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-apache-dubbo</artifactId>
  12. <dependencies>
  13. <dependency>
  14. <groupId>org.apache.dubbo</groupId>
  15. <artifactId>dubbo</artifactId>
  16. <version>2.7.3</version>
  17. </dependency>
  18. <!-- Dubbo provides qos plugin and is enable by default. -->
  19. <!-- The dubbo-qos module is optional and it depends Netty 4.x, so add it explicitly -->
  20. <!-- @see http://dubbo.apache.org/zh-cn/docs/user/references/qos.html -->
  21. <dependency>
  22. <groupId>io.netty</groupId>
  23. <artifactId>netty-all</artifactId>
  24. <version>4.1.31.Final</version>
  25. </dependency>
  26. <!-- Dependency for Spring Context -->
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-context-support</artifactId>
  30. <version>5.1.5.RELEASE</version>
  31. </dependency>
  32. <!-- Sentinel adapter and transport -->
  33. <dependency>
  34. <groupId>com.alibaba.csp</groupId>
  35. <artifactId>sentinel-apache-dubbo-adapter</artifactId>
  36. <version>${project.version}</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba.csp</groupId>
  40. <artifactId>sentinel-transport-simple-http</artifactId>
  41. <version>${project.version}</version>
  42. </dependency>
  43. </dependencies>
  44. </project>