client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

use tikv client #rust with #grpcio

Open linuxpham opened this issue 3 years ago • 1 comments

Hi admin,

I use grpcio to build grpc server. #client-rust use #tokio runtime, grpcio use another runtime.

How can I use tikv-client in RpcContext grpcio ?

Thank you!

linuxpham avatar Dec 10 '21 08:12 linuxpham

Did you mean tikv/grpc-rs?

tikv-client (for now, and at least in the near future) requires the tokio runtime. In my humble opinion, if the runtimes are incompatible, you'd better use them independently and choose an appropriate communication mechanism.

ekexium avatar Dec 10 '21 09:12 ekexium

Hi, the tikv-client has been migrated to tonic. Therefore, I believe that this issue is no longer valid. I will proceed to close this issue, but please feel free to reopen it if the problem persists.

Xuanwo avatar Jul 13 '23 04:07 Xuanwo