RPC api based on apache thrift for apache oak