The new code in 1.3.2 is using the Customizer pattern but the code that injects all rest templates and adds the interceptor was not deleted.
This is making that applications will not be able to create RestTemplate bean using the RestTemplateBuilder as a circular dependency is now created:

CloudRestTemplateAutoConfigure:
@Configuration
public class CloudRestTemplateAutoConfigure {
@LoadBalanced
@Bean
public RestTemplate loadBalanced(RestTemplateBuilder restTemplateBuilder) {
return restTemplateBuilder.build();
}
@Bean
@Primary
public RestTemplate restTemplate(RestTemplateBuilder restTemplateBuilder) {
return restTemplateBuilder.build();
}
}
Also looks like the RestTemplateCustomizer traceRestTemplateCustomizer() needs to have LOWEST_PRECEDENCE and not HIGHEST_PRECEDENCE as you want to make sure you add it as the first customizer and no other customizer is adding to the start of the list after your code
You can find a simple project that was generated with start,spring.io with Slueth and Web only and reproduces it.
🤦♂️
Looks like the code that adds the interceptors to a RestTemplate created with new will stop working... as RestTamplate should be created with the RestTemplateBuilder.
Tried to fix the code in my fork and looks like you have tests that tests that tracing is working with RestTemplate not created by the builder
I guess, I've fixed it. Also I've updated a test to prove that it works with 2 RestTemplates at a time, one created via builder and one via new. https://github.com/spring-cloud/spring-cloud-sleuth/commit/d62756e3b116fa8dc818a6388043c46c773c8e69
Any idea of when 1.3.3.RELEASE is gona happen ?
Hopefully soon... until then just disable spring.sleuth.web.client.enabled: false
We'll wait until then... maintaining workarounds is too expensive (unless it takes months to get the new release ;-)
hehehe, no, I think this one will be much sooner ;)
Will it be part of an Edgware.SR3 or an independent release of "Sleuth only" ?
part of Edgware.SR3
Damn! You guys are going too fast...
Any ETA update for Edgware.SR3 ?
https://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-sleuth-core/ it's there. We will announce it today I guess.
Cool. Can’t wait for it… 😉