Skip to main content

tikv

5 configuration options · available in Rust, Python, Node.js, Java

Quick start
use opendal::Operator;

let op = Operator::via_iter("tikv", [
])?;
All configuration options (copy & trim)
Full reference
use opendal::Operator;

let op = Operator::via_iter("tikv", [
// network address of the TiKV service.
// ("endpoints".to_string(), "value1,value2".to_string()),

// whether using insecure connection to TiKV
// ("insecure".to_string(), "true".to_string()),

// certificate authority file path
// ("ca_path".to_string(), "...".to_string()),

// cert path
// ("cert_path".to_string(), "...".to_string()),

// key path
// ("key_path".to_string(), "...".to_string()),

])?;

Every option is passed as a string key; OpenDAL parses it into the right type. Some services may require building the binding with the matching services-* feature enabled.

Configuration reference

General5
KeyTypeRequiredDescription
endpointslistnonetwork address of the TiKV service.
insecureboolnowhether using insecure connection to TiKV
ca_pathstringnocertificate authority file path
cert_pathstringnocert path
key_pathstringnokey path