kin2.zipkin-storage-cassandra.3.4.1.source-code.zipkin2-schema-upgrade-1.cql Maven / Gradle / Ivy
CREATE TABLE IF NOT EXISTS zipkin2.autocomplete_tags (
key text,
value text,
PRIMARY KEY (key, value)
)
WITH compaction = {'class': 'org.apache.cassandra.db.compaction.LeveledCompactionStrategy', 'unchecked_tombstone_compaction': 'true', 'tombstone_threshold': '0.2'}
AND caching = {'rows_per_partition': 'ALL'}
AND default_time_to_live = 259200
AND gc_grace_seconds = 3600
AND read_repair_chance = 0
AND dclocal_read_repair_chance = 0
AND speculative_retry = '95percentile'
AND comment = 'Secondary table for looking up tag key and values for a service';