Adds auto-configuration for RabbitMQ and Kafka transports
Add one of the following to auto-configure a messaging transport: * spring-kakfa 2.0+ * spring-rabbit < 2.0 (unless amqp-client 5.x is compatible w/ 4.x)
This commit is contained in:
@@ -14,9 +14,9 @@
|
||||
<name>spring-cloud-sleuth-dependencies</name>
|
||||
<description>Spring Cloud Sleuth Dependencies</description>
|
||||
<properties>
|
||||
<zipkin.version>2.2.0</zipkin.version>
|
||||
<zipkin-reporter.version>1.1.1</zipkin-reporter.version>
|
||||
<zipkin-reporter2.version>2.1.1</zipkin-reporter2.version>
|
||||
<zipkin.version>2.2.1</zipkin.version>
|
||||
<zipkin-reporter.version>1.1.2</zipkin-reporter.version>
|
||||
<zipkin-reporter2.version>2.1.3</zipkin-reporter2.version>
|
||||
</properties>
|
||||
<dependencyManagement>
|
||||
<dependencies>
|
||||
@@ -105,6 +105,30 @@
|
||||
<artifactId>zipkin-reporter</artifactId>
|
||||
<version>${zipkin-reporter2.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.zipkin.reporter2</groupId>
|
||||
<artifactId>zipkin-sender-kafka11</artifactId>
|
||||
<version>${zipkin-reporter2.version}</version>
|
||||
<exclusions>
|
||||
<!-- assigned with spring-kafka -->
|
||||
<exclusion>
|
||||
<groupId>org.apache.kafka</groupId>
|
||||
<artifactId>kafka-clients</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>io.zipkin.reporter2</groupId>
|
||||
<artifactId>zipkin-sender-amqp-client</artifactId>
|
||||
<version>${zipkin-reporter2.version}</version>
|
||||
<exclusions>
|
||||
<!-- assigned with spring-rabbit -->
|
||||
<exclusion>
|
||||
<groupId>com.rabbitmq</groupId>
|
||||
<artifactId>amqp-client</artifactId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</dependencyManagement>
|
||||
<profiles>
|
||||
|
||||
Reference in New Issue
Block a user