-
Notifications
You must be signed in to change notification settings - Fork 784
Closed
Labels
Milestone
Description
Hi, thanks for a great project!
I just added Sleuth + Zipkin to a project I'm working on. When I'm disabling Zipkin with spring.zipkin.enabled=false, the app fails at runtime with:
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 0 of method spanBytesEncoder in org.springframework.cloud.sleuth.zipkin2.ZipkinBackwardsCompatibilityAutoConfiguration required a bean of type 'org.springframework.cloud.sleuth.zipkin2.ZipkinProperties' that could not be found.
Action:
Consider defining a bean of type 'org.springframework.cloud.sleuth.zipkin2.ZipkinProperties' in your configuration.
Seems like a bug to me - just using Sleuth should still work. I've made a reproduction gist.
Dependencies
| Dependency | Version |
|---|---|
org.springframework.boot:spring-boot-starter-parent |
2.1.2.RELEASE |
org.springframework.cloud:spring-cloud-sleuth |
2.1.0.RELEASE |
org.springframework.cloud:spring-cloud-starter-zipkin |
2.1.0.RELEASE (managed by spring-cloud-sleuth) |
PascalSchumacher, ivarflakstad-zz, michMartineau, golonzovsky and domgomIW