Class CassandraStorage

java.lang.Object
zipkin2.Component
zipkin2.storage.StorageComponent
zipkin2.storage.cassandra.CassandraStorage
All Implemented Interfaces:
Closeable, AutoCloseable

public abstract class CassandraStorage
extends StorageComponent
CQL3 implementation of zipkin storage.

Queries are logged to the category "com.datastax.driver.core.QueryLogger" when debug or trace is enabled via SLF4J. Trace level includes bound values.

Schema is installed by default from "/zipkin2-schema.cql"

When StorageComponent.Builder.strictTraceId(boolean) is disabled, span and index data are uniformly written with 64-bit trace ID length. When retrieving data, an extra "trace_id_high" field clarifies if a 128-bit trace ID was sent.