Closed jorgheymans closed 6 years ago
@jorgheymans can you check that it's working fine with the latest snapshots?
@marcingrzejszczak what is the reason for needing both spring.zipkin.kafka.enabled=true
and spring.zipkin.sender.type=kafka
to enable kafka ? I'm sure there is a good reason, but from a user point of view it seems strange. I will have a look at the snapshots tomorrow.
Ah! Good point. If someone sets the type explicitly that should be enough
Enhancement
It seems that as soon as Kafka is on the classpath, spring.zipkin.sender.type is set to KAFKA. However unless kafka is nicely configured upfront, users will see their logs flooded with below stacktraces. This is not a nice out of the box experience and will send users on a stack overflow witch hunt. A much safer choice IMO would be to set WEB as the default, that one needs very few config options to work (just the zipkin base URL i think), and make users explicitly set sender.type when kafka is required.