seninel部署
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

pom.xml 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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.8.2-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>sentinel-demo-dubbo</artifactId>
  12. <dependencies>
  13. <!-- Demo use Dubbo 2.6.x, since it supports JDK 1.7 -->
  14. <dependency>
  15. <groupId>com.alibaba</groupId>
  16. <artifactId>dubbo</artifactId>
  17. <version>2.6.6</version>
  18. </dependency>
  19. <!-- Dubbo provides qos plugin since 2.5.8 and is enable by default. -->
  20. <!-- The dubbo-qos module is optional and it depends Netty 4.x, so add it explicitly -->
  21. <!-- @see http://dubbo.apache.org/zh-cn/docs/user/references/qos.html -->
  22. <dependency>
  23. <groupId>io.netty</groupId>
  24. <artifactId>netty-all</artifactId>
  25. <version>4.1.42.Final</version>
  26. </dependency>
  27. <!-- As demo use @DubboComponentScan to config, which is implemented in dubbo-config-spring module -->
  28. <!-- The dubbo-config-spring module is optional and it depends spring-context-support, so add it explicitly-->
  29. <!-- @see https://github.com/apache/incubator-dubbo/issues/2869 -->
  30. <dependency>
  31. <groupId>com.alibaba.spring</groupId>
  32. <artifactId>spring-context-support</artifactId>
  33. <version>1.0.2</version>
  34. </dependency>
  35. <!-- Sentinel adapter and transport -->
  36. <dependency>
  37. <groupId>com.alibaba.csp</groupId>
  38. <artifactId>sentinel-dubbo-adapter</artifactId>
  39. <version>${project.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.alibaba.csp</groupId>
  43. <artifactId>sentinel-transport-simple-http</artifactId>
  44. <version>${project.version}</version>
  45. </dependency>
  46. </dependencies>
  47. </project>