Updates to latest zipkin, adding spring.zipkin.compression.enabled flag

This updates to latest zipkin, adding a flag to gzip spans before
posting them. Note this is set to false by default as it requires servers
to also be latest. We can flip the default once we can assume that.

Ex. `spring.zipkin.compression.enabled = true`
This commit is contained in:
Adrian Cole
2016-02-25 18:00:53 +08:00
parent 5d23cd8bab
commit 51b542e34b
9 changed files with 73 additions and 18 deletions

View File

@@ -102,7 +102,7 @@ public class ZipkinTests extends AbstractIntegrationTest {
private ZipkinSpanReporter getSpanCollector(ZipkinProperties zipkin,
SpanReporterService spanReporterService) {
return new HttpZipkinSpanReporter(zipkin.getBaseUrl(), zipkin.getFlushInterval(),
spanReporterService);
zipkin.getCompression().isEnabled(), spanReporterService);
}
}