client-cpp
client-cpp copied to clipboard
TiKV Client for C++
Use tokio runtime to run functions in TransactionClient and Transaction. This avoid some errors which is "tokio::runtime::scheduler::Handle must be called from the context of a Tokio 1.x runtime"
solve: https://github.com/tikv/client-go/issues/829 I have provided a tool for client-cpp that allows for the customization of DNS server addresses. This way, by only exposing the coreDNS address of the k8s cluster,...
I am adding `clang-format` and `cargo` checks for this repo.
related issue: https://github.com/tikv/client-cpp/issues/18 add a dev container config for client-cpp Closes #18
``` ## Setup a cluster by TiUP playground client-cpp> tiup playground --nightly ## Then run the example program of `tikv/client-cpp` client-cpp> make run-example RUST_LOG=debug /data3/my/client-cpp/target/tikv-example [2021-03-02T14:29:15Z INFO tikv_client_common::security] connect to...
OS: uname -a Linux x.x.x.x 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux `» config show all { "client-urls": "http://172.16.244.53:2379", "peer-urls": "http://172.16.244.53:2380", "advertise-client-urls": "http://172.16.244.53:2379", "advertise-peer-urls":...
Fixes: #9 Used [cxx-binding](https://cxx.rs/binding/result.html) to throw custom errors. Signed-off-by: Anish Aggarwal [email protected]
Can the current cpp client handle TLS connection to PD?