From 9c1642b28f108b181a9171dbf4d7171c31024bb4 Mon Sep 17 00:00:00 2001
From: Marcin Grzejszczak
CompletableFuture<Long> completableFuture = CompletableFuture.supplyAsync(() -> {
// perform some logic
return 1_000_000L;
-}, new TraceableExecutorService(Executors.newCachedThreadPool(),
+}, new TraceableExecutorService(executorService,
// 'calculateTax' explicitly names the span - this param is optional
tracer, traceKeys, spanNamer, "calculateTax"));
@@ -1727,7 +1727,7 @@ To disable Zuul support set the spring.sleuth.zuul.enabled property