diff --git a/pom.xml b/pom.xml
index 20fcffc88..8773db634 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,11 +5,11 @@
com.alipay.sofa
sofaboot-dependencies
- 3.1.1
+ 3.19.1
tracer-all-parent
- 3.1.3-SNAPSHOT
+ 3.1.3
pom
tracer-all-parent
Alipay SOFATracer Log Implemented by OpenTracing
@@ -35,7 +35,6 @@
sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin
sofa-tracer-plugins/sofa-tracer-kafkamq-plugin
tracer-all
- tracer-sofa-boot-starter
tracer-test/core-test
tracer-test/logback-test
tracer-test/log4j2-test
@@ -51,6 +50,7 @@
${user.dir}
1.6.7
1.5
+ 2021.0.7
@@ -209,16 +209,10 @@
org.springframework.cloud
- spring-cloud-starter-openfeign
- 2.1.0.RELEASE
- provided
-
-
-
- org.springframework.cloud
- spring-cloud-stream
- 2.1.0.RELEASE
- provided
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
@@ -230,7 +224,7 @@
com.alipay.sofa.common
sofa-common-tools
- 1.3.1
+ 1.3.11
@@ -366,7 +360,6 @@
org.apache.maven.plugins
maven-compiler-plugin
- 3.1
${java.compiler.target.version}
diff --git a/sofa-tracer-plugins/sofa-tracer-datasource-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-datasource-plugin/pom.xml
index ecd494632..f7572baa2 100644
--- a/sofa-tracer-plugins/sofa-tracer-datasource-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-datasource-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-dubbo-2.6.x-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-dubbo-2.6.x-plugin/pom.xml
index 169f80fc7..bbf7134f8 100644
--- a/sofa-tracer-plugins/sofa-tracer-dubbo-2.6.x-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-dubbo-2.6.x-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
@@ -36,6 +36,11 @@
com.alibaba
fastjson
+
+ org.javassist
+ javassist
+ test
+
diff --git a/sofa-tracer-plugins/sofa-tracer-dubbo-common-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-dubbo-common-plugin/pom.xml
index e79fd1980..8081f4f60 100644
--- a/sofa-tracer-plugins/sofa-tracer-dubbo-common-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-dubbo-common-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-dubbo-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-dubbo-plugin/pom.xml
index 65e78e8d4..4f42c058f 100644
--- a/sofa-tracer-plugins/sofa-tracer-dubbo-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-dubbo-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-flexible-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-flexible-plugin/pom.xml
index 8df616784..71e071765 100644
--- a/sofa-tracer-plugins/sofa-tracer-flexible-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-flexible-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-httpclient-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-httpclient-plugin/pom.xml
index 1e33c4b80..321c4aa1b 100644
--- a/sofa-tracer-plugins/sofa-tracer-httpclient-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-httpclient-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/pom.xml
index 77783acce..e0cd8dfac 100644
--- a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/consumer/SofaTracerKafkaConsumer.java b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/consumer/SofaTracerKafkaConsumer.java
index caa6521c7..a796a86c5 100644
--- a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/consumer/SofaTracerKafkaConsumer.java
+++ b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/consumer/SofaTracerKafkaConsumer.java
@@ -25,6 +25,7 @@
import com.sofa.alipay.tracer.plugins.kafkamq.carrier.KafkaMqExtractCarrier;
import com.sofa.alipay.tracer.plugins.kafkamq.tracers.KafkaMQConsumeTracer;
import org.apache.kafka.clients.consumer.Consumer;
+import org.apache.kafka.clients.consumer.ConsumerGroupMetadata;
import org.apache.kafka.clients.consumer.ConsumerRebalanceListener;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
@@ -41,6 +42,7 @@
import java.util.Collection;
import java.util.List;
import java.util.Map;
+import java.util.OptionalLong;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.regex.Pattern;
@@ -176,6 +178,11 @@ public void seek(TopicPartition partition, long offset) {
consumer.seek(partition, offset);
}
+ @Override
+ public void seek(TopicPartition topicPartition, OffsetAndMetadata offsetAndMetadata) {
+ consumer.seek(topicPartition, offsetAndMetadata);
+ }
+
@Override
public void seekToBeginning(Collection partitions) {
consumer.seekToBeginning(partitions);
@@ -206,6 +213,17 @@ public OffsetAndMetadata committed(TopicPartition partition, Duration timeout) {
return consumer.committed(partition, timeout);
}
+ @Override
+ public Map committed(Set set) {
+ return null;
+ }
+
+ @Override
+ public Map committed(Set set,
+ Duration duration) {
+ return null;
+ }
+
@Override
public Map metrics() {
return consumer.metrics();
@@ -280,13 +298,23 @@ public Map endOffsets(Collection partition
}
@Override
- public void close() {
- consumer.close();
+ public OptionalLong currentLag(TopicPartition topicPartition) {
+ return consumer.currentLag(topicPartition);
}
@Override
- public void close(long timeout, TimeUnit unit) {
- consumer.close(timeout, unit);
+ public ConsumerGroupMetadata groupMetadata() {
+ return consumer.groupMetadata();
+ }
+
+ @Override
+ public void enforceRebalance() {
+ consumer.enforceRebalance();
+ }
+
+ @Override
+ public void close() {
+ consumer.close();
}
@Override
diff --git a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/producer/SofaTracerKafkaProducer.java b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/producer/SofaTracerKafkaProducer.java
index 40b36eb18..7951e781f 100644
--- a/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/producer/SofaTracerKafkaProducer.java
+++ b/sofa-tracer-plugins/sofa-tracer-kafkamq-plugin/src/main/java/com/sofa/alipay/tracer/plugins/kafkamq/producer/SofaTracerKafkaProducer.java
@@ -27,6 +27,7 @@
import com.alipay.common.tracer.core.tracer.AbstractTracer;
import com.sofa.alipay.tracer.plugins.kafkamq.carrier.KafkaMqInjectCarrier;
import com.sofa.alipay.tracer.plugins.kafkamq.tracers.KafkaMQSendTracer;
+import org.apache.kafka.clients.consumer.ConsumerGroupMetadata;
import org.apache.kafka.clients.consumer.OffsetAndMetadata;
import org.apache.kafka.clients.producer.Callback;
import org.apache.kafka.clients.producer.Producer;
@@ -39,11 +40,11 @@
import org.apache.kafka.common.errors.ProducerFencedException;
import org.apache.kafka.common.header.Headers;
+import java.time.Duration;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.concurrent.Future;
-import java.util.concurrent.TimeUnit;
/**
* SofaTracerKafkaProducer.
@@ -87,6 +88,13 @@ public void sendOffsetsToTransaction(Map offs
producer.sendOffsetsToTransaction(offsets, consumerGroupId);
}
+ @Override
+ public void sendOffsetsToTransaction(Map map,
+ ConsumerGroupMetadata consumerGroupMetadata)
+ throws ProducerFencedException {
+ producer.sendOffsetsToTransaction(map, consumerGroupMetadata);
+ }
+
@Override
public void commitTransaction() throws ProducerFencedException {
producer.commitTransaction();
@@ -138,8 +146,8 @@ public void close() {
}
@Override
- public void close(long timeout, TimeUnit timeUnit) {
- producer.close(timeout, timeUnit);
+ public void close(Duration duration) {
+ producer.close(duration);
}
private void appendSpanTagsAndInject(ProducerRecord producerRecord,
diff --git a/sofa-tracer-plugins/sofa-tracer-mongodb-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-mongodb-plugin/pom.xml
index ea6a0745c..33c14d7ce 100644
--- a/sofa-tracer-plugins/sofa-tracer-mongodb-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-mongodb-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
@@ -27,6 +27,7 @@
org.mongodb
mongodb-driver
+ 3.8.2
provided
diff --git a/sofa-tracer-plugins/sofa-tracer-okhttp-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-okhttp-plugin/pom.xml
index 8ca510156..74b12ae76 100644
--- a/sofa-tracer-plugins/sofa-tracer-okhttp-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-okhttp-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
diff --git a/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/pom.xml
index be4d926e2..070bf11fa 100644
--- a/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
@@ -48,6 +48,11 @@
2.10.0
test
+
+ org.apache.commons
+ commons-collections4
+ test
+
org.springframework.boot
spring-boot-starter-test
diff --git a/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/src/test/java/com/sofa/tracer/plugins/rabbitmq/base/MockRabbitMqExtractCarrier.java b/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/src/test/java/com/sofa/tracer/plugins/rabbitmq/base/MockRabbitMqExtractCarrier.java
index 3624c3c2e..f56fba0a0 100644
--- a/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/src/test/java/com/sofa/tracer/plugins/rabbitmq/base/MockRabbitMqExtractCarrier.java
+++ b/sofa-tracer-plugins/sofa-tracer-rabbitmq-plugin/src/test/java/com/sofa/tracer/plugins/rabbitmq/base/MockRabbitMqExtractCarrier.java
@@ -17,6 +17,7 @@
package com.sofa.tracer.plugins.rabbitmq.base;
import com.sofa.alipay.tracer.plugins.rabbitmq.carrier.RabbitMqExtractCarrier;
+import org.apache.commons.collections4.IteratorUtils;
import org.junit.Test;
import java.util.Collections;
@@ -40,7 +41,7 @@ public void testIterator() {
Map headers = Collections.singletonMap(key, value);
RabbitMqExtractCarrier carrier = new RabbitMqExtractCarrier(headers);
final Iterator> iterator = carrier.iterator();
- assertThat(iterator).containsAll(map.entrySet());
+ assertThat(IteratorUtils.toList(iterator)).containsAll(map.entrySet());
}
@Test
@@ -48,7 +49,7 @@ public void testIterator_whenNullValue() {
Map headers = Collections.singletonMap("testSOFATracerId", null);
RabbitMqExtractCarrier carrier = new RabbitMqExtractCarrier(headers);
final Iterator> iterator = carrier.iterator();
- assertThat(iterator).doesNotContainNull();
+ assertThat(IteratorUtils.toList(iterator)).doesNotContainNull();
}
@Test(expected = UnsupportedOperationException.class)
diff --git a/sofa-tracer-plugins/sofa-tracer-redis-plugin/pom.xml b/sofa-tracer-plugins/sofa-tracer-redis-plugin/pom.xml
index 7108d48c6..a4a4b2e87 100644
--- a/sofa-tracer-plugins/sofa-tracer-redis-plugin/pom.xml
+++ b/sofa-tracer-plugins/sofa-tracer-redis-plugin/pom.xml
@@ -5,7 +5,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
4.0.0
@@ -28,7 +28,6 @@
io.projectreactor
reactor-core
- 3.1.9.RELEASE
provided
@@ -47,7 +46,6 @@
org.springframework
spring-test
- ${spring.version}
test
diff --git a/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/common/RedisCommand.java b/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/common/RedisCommand.java
index ea42c0a57..4e81869f6 100644
--- a/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/common/RedisCommand.java
+++ b/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/common/RedisCommand.java
@@ -72,6 +72,7 @@ public final class RedisCommand {
public static final String CONFIG_REWRITE = "CONFIG REWRITE";
public static final String CONFIG_SET = "CONFIG SET";
public static final String CONFIG_RESETSTAT = "CONFIG RESETSTAT";
+ public static final String COPY = "COPY";
public static final String DBSIZE = "DBSIZE";
public static final String DEBUG_OBJECT = "DEBUG OBJECT";
public static final String DEBUG_SEGFAULT = "DEBUG SEGFAULT";
@@ -96,7 +97,10 @@ public final class RedisCommand {
public static final String GEORADIUS = "GEORADIUS";
public static final String GEORADIUSBYMEMBER = "GEORADIUSBYMEMBER";
public static final String GEOREMOVE = "GEOREMOVE";
+ public static final String GEOSEARCH = "GEOSEARCH";
public static final String GET = "GET";
+ public static final String GETDEL = "GETDEL";
+ public static final String GETEX = "GETEX";
public static final String GETBIT = "GETBIT";
public static final String GETRANGE = "GETRANGE";
public static final String GETSET = "GETSET";
@@ -104,6 +108,7 @@ public final class RedisCommand {
public static final String HEXISTS = "HEXISTS";
public static final String HGET = "HGET";
public static final String HGETALL = "HGETALL";
+ public static final String HRANDFIELD = "HRANDFIELD";
public static final String HINCRBY = "HINCRBY";
public static final String HINCRBYFLOAT = "HINCRBYFLOAT";
public static final String HKEYS = "HKEYS";
@@ -122,6 +127,7 @@ public final class RedisCommand {
public static final String LASTSAVE = "LASTSAVE";
public static final String LINDEX = "LINDEX";
public static final String LINSERT = "LINSERT";
+ public static final String LMOV = "LMOV";
public static final String LLEN = "LLEN";
public static final String LPOP = "LPOP";
public static final String LPUSH = "LPUSH";
@@ -168,6 +174,7 @@ public final class RedisCommand {
public static final String RPOP = "RPOP";
public static final String RPOPLPUSH = "RPOPLPUSH";
public static final String RPUSH = "RPUSH";
+ public static final String LPOS = "LPOS";
public static final String RPUSHX = "RPUSHX";
public static final String SADD = "SADD";
public static final String SAVE = "SAVE";
@@ -215,6 +222,8 @@ public final class RedisCommand {
public static final String WAIT = "WAIT";
public static final String WATCH = "WATCH";
public static final String ZADD = "ZADD";
+ public static final String ZDIFF = "ZDIFF";
+ public static final String ZINTER = "ZINTER";
public static final String ZCARD = "ZCARD";
public static final String ZCOUNT = "ZCOUNT";
public static final String ZINCRBY = "ZINCRBY";
@@ -230,6 +239,7 @@ public final class RedisCommand {
public static final String ZRANGEBYSCORE_WITHSCORES = "ZRANGEBYSCORE WITHSCORES";
public static final String ZRANK = "ZRANK";
public static final String ZREM = "ZREM";
+ public static final String ZRANDMEMBER = "ZRANDMEMBER";
public static final String ZREMRANGE = "ZREMRANGE";
public static final String ZREMRANGEBYLEX = "ZREMRANGEBYLEX";
public static final String ZREMRANGEBYRANK = "ZREMRANGEBYRANK";
@@ -240,18 +250,27 @@ public final class RedisCommand {
public static final String ZREVRANGEBYSCORE_WITHSCORES = "ZREVRANGEBYSCORE WITHSCORES";
public static final String ZREVRANK = "ZREVRANK";
public static final String ZSCORE = "ZSCORE";
+ public static final String ZUNION = "ZUNION";
public static final String ZUNIONSTORE = "ZUNIONSTORE";
public static final String SCAN = "SCAN";
public static final String SSCAN = "SSCAN";
public static final String HSCAN = "HSCAN";
public static final String ZSCAN = "ZSCAN";
+ public static final String XACK = "XACK";
public static final String XADD = "XADD";
+ public static final String XCLAIM = "XCLAIM";
+ public static final String XDEL = "XDEL";
+ public static final String XGROUPCREATE = "XGROUPCREATE";
+ public static final String XGROUPDELCONSUMER = "XGROUPDELCONSUMER";
+ public static final String XGROUPDESTORY = "XGROUPDESTORY";
+ public static final String XINFO = "XINFO";
public static final String XRANGE = "XRANGE";
public static final String XREVRANGE = "XREVRANGE";
public static final String XLEN = "XLEN";
public static final String XREAD = "XREAD";
public static final String XREADGROUP = "XREADGROUP";
public static final String XPENDING = "XPENDING";
+ public static final String XTRIM = "XTRIM";
public static final String ENCODING = "ENCODING";
public static final String IDLETIME = "IDLETIME";
public static final String REFCOUNT = "REFCOUNT";
diff --git a/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/connections/TracingReactiveRedisClusterConnection.java b/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/connections/TracingReactiveRedisClusterConnection.java
index d0c4438b2..c7153d4e9 100644
--- a/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/connections/TracingReactiveRedisClusterConnection.java
+++ b/sofa-tracer-plugins/sofa-tracer-redis-plugin/src/main/java/com/sofa/alipay/tracer/plugins/spring/redis/connections/TracingReactiveRedisClusterConnection.java
@@ -18,6 +18,7 @@
import com.sofa.alipay.tracer.plugins.spring.redis.common.RedisActionWrapperHelper;
import com.sofa.alipay.tracer.plugins.spring.redis.common.RedisCommand;
+import org.springframework.data.redis.connection.ClusterInfo;
import org.springframework.data.redis.connection.ReactiveClusterGeoCommands;
import org.springframework.data.redis.connection.ReactiveClusterHashCommands;
import org.springframework.data.redis.connection.ReactiveClusterHyperLogLogCommands;
@@ -26,14 +27,20 @@
import org.springframework.data.redis.connection.ReactiveClusterNumberCommands;
import org.springframework.data.redis.connection.ReactiveClusterServerCommands;
import org.springframework.data.redis.connection.ReactiveClusterSetCommands;
+import org.springframework.data.redis.connection.ReactiveClusterStreamCommands;
import org.springframework.data.redis.connection.ReactiveClusterStringCommands;
import org.springframework.data.redis.connection.ReactiveClusterZSetCommands;
import org.springframework.data.redis.connection.ReactivePubSubCommands;
import org.springframework.data.redis.connection.ReactiveRedisClusterConnection;
import org.springframework.data.redis.connection.ReactiveScriptingCommands;
import org.springframework.data.redis.connection.RedisClusterNode;
+import reactor.core.publisher.Flux;
import reactor.core.publisher.Mono;
+import java.nio.ByteBuffer;
+import java.util.Collection;
+import java.util.Map;
+
public class TracingReactiveRedisClusterConnection implements ReactiveRedisClusterConnection {
private final ReactiveRedisClusterConnection reactiveRedisClusterConnection;
@@ -100,6 +107,11 @@ public ReactiveClusterServerCommands serverCommands() {
return reactiveRedisClusterConnection.serverCommands();
}
+ @Override
+ public ReactiveClusterStreamCommands streamCommands() {
+ return reactiveRedisClusterConnection.streamCommands();
+ }
+
@Override
public Mono ping(RedisClusterNode node) {
return actionWrapper.doInScope(RedisCommand.PING,
@@ -122,7 +134,93 @@ public ReactiveScriptingCommands scriptingCommands() {
}
@Override
- public Mono ping() {
- return actionWrapper.doInScope(RedisCommand.PING, () -> reactiveRedisClusterConnection.ping());
- }
+ public Mono ping() {
+ return actionWrapper.doInScope(RedisCommand.PING, () -> reactiveRedisClusterConnection.ping());
+ }
+
+ @Override
+ public Flux clusterGetNodes() {
+ return reactiveRedisClusterConnection.clusterGetNodes();
+ }
+
+ @Override
+ public Flux clusterGetSlaves(RedisClusterNode master) {
+ return reactiveRedisClusterConnection.clusterGetSlaves(master);
+ }
+
+ @Override
+ public Mono
-
- com.alipay.sofa
- infra-sofa-boot-starter
-
org.springframework.boot
@@ -146,17 +142,9 @@
true
-
- org.mongodb
- mongodb-driver
- 3.8.2
- true
-
-
org.springframework.data
spring-data-mongodb
- 2.1.8.RELEASE
true
diff --git a/tracer-test/core-test/pom.xml b/tracer-test/core-test/pom.xml
index cd89b14af..ae62bd314 100644
--- a/tracer-test/core-test/pom.xml
+++ b/tracer-test/core-test/pom.xml
@@ -4,7 +4,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
diff --git a/tracer-test/log4j-test/pom.xml b/tracer-test/log4j-test/pom.xml
index 54431d322..b5ee59052 100644
--- a/tracer-test/log4j-test/pom.xml
+++ b/tracer-test/log4j-test/pom.xml
@@ -4,7 +4,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
diff --git a/tracer-test/log4j2-test/pom.xml b/tracer-test/log4j2-test/pom.xml
index 4c20041bb..d6fca9f99 100644
--- a/tracer-test/log4j2-test/pom.xml
+++ b/tracer-test/log4j2-test/pom.xml
@@ -4,7 +4,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml
diff --git a/tracer-test/logback-test/pom.xml b/tracer-test/logback-test/pom.xml
index cd01a59e6..364a211bf 100644
--- a/tracer-test/logback-test/pom.xml
+++ b/tracer-test/logback-test/pom.xml
@@ -4,7 +4,7 @@
tracer-all-parent
com.alipay.sofa
- 3.1.3-SNAPSHOT
+ 3.1.3
../../pom.xml