diff --git a/pom.xml b/pom.xml index 1caaded8b0..f0a5b46ffe 100755 --- a/pom.xml +++ b/pom.xml @@ -1,23 +1,26 @@ 4.0.0 - io.zipkin.zipkin2 + org.apache.zipkin parent 2.13.0-SNAPSHOT pom @@ -49,7 +52,7 @@ ${project.basedir} - 0.84.0-SNAPSHOT + 0.84.0 1.19.0 3.7.0 ${project.build.directory}/test/proto @@ -152,62 +155,6 @@ - - io.zipkin.zipkin2 - zipkin - ${project.version} - - - - io.zipkin.zipkin2 - zipkin - test-jar - ${project.version} - - - - io.zipkin.zipkin2 - zipkin-collector - ${project.version} - - - - io.zipkin.zipkin2 - zipkin-junit - ${project.version} - - - - io.zipkin.zipkin2 - zipkin-collector-kafka08 - ${project.version} - - - - io.zipkin.zipkin2 - zipkin-collector-scribe - ${project.version} - - - - io.zipkin.zipkin2 - zipkin-lens - ${project.version} - - - - - io.zipkin.java - zipkin-ui - ${project.version} - - - - io.zipkin.java - zipkin-server - ${project.version} - - javax.annotation javax.annotation-api @@ -405,6 +352,7 @@ brave ${brave.version} + io.zipkin.zipkin2 zipkin @@ -414,7 +362,7 @@ io.zipkin.proto3 zipkin-proto3 - 0.2.0 + 0.1.0 com.google.protobuf @@ -698,13 +646,6 @@ true - - - com.mycila - license-maven-plugin-git - ${license-maven-plugin.version} - - diff --git a/zipkin-server/pom.xml b/zipkin-server/pom.xml index 4a75325b81..5f88a1a725 100644 --- a/zipkin-server/pom.xml +++ b/zipkin-server/pom.xml @@ -79,14 +79,8 @@ com.linecorp.armeria - armeria-grpc + armeria-grpc-protocol ${armeria.version} - - - * - * - - diff --git a/zipkin-server/src/main/java/zipkin2/server/internal/ZipkinGrpcCollector.java b/zipkin-server/src/main/java/zipkin2/server/internal/ZipkinGrpcCollector.java index ea35750687..f6beec94e7 100644 --- a/zipkin-server/src/main/java/zipkin2/server/internal/ZipkinGrpcCollector.java +++ b/zipkin-server/src/main/java/zipkin2/server/internal/ZipkinGrpcCollector.java @@ -28,6 +28,8 @@ /** Collector for receiving spans on a gRPC endpoint. */ @ConditionalOnProperty(name = "zipkin.collector.grpc.enabled") // disabled by default final class ZipkinGrpcCollector { + static final byte[] EMPTY = new byte[0]; + @Bean ArmeriaServerConfigurator grpcCollectorConfigurator(StorageComponent storage, CollectorSampler sampler, CollectorMetrics metrics) { CollectorMetrics grpcMetrics = metrics.forTransport("grpc"); @@ -63,7 +65,7 @@ static final class CompletableFutureCallback extends CompletableFuture implements Callback { @Override public void onSuccess(Void value) { - complete(new byte[0] /* empty result */); + complete(EMPTY); } @Override public void onError(Throwable t) {