Class Collector

java.lang.Object
zipkin2.collector.Collector

public class Collector
extends Object
This component takes action on spans received from a transport. This includes deserializing, sampling and scheduling for storage.

Callbacks passed do not propagate to the storage layer. They only return success or failures before storage is attempted. This ensures that calling threads are disconnected from storage threads.