On Tue, Oct 11, 2016 at 11:33 AM, Darren Hoo <[email protected]> wrote:

> AFAIK, kudu now has c++, python and java.
>
> where should I start if I want to create client for other languages?
>
> Wrapping around kudu's c++ client like python does  seems one way to go,
> but I would rather talk to kudu protobuf RPC directly.
> then where should I start?
>
>
Hi Darren,

I strongly recommend against trying to write against the protobuf RPC
directly. Kudu's client is quite "thick", so I would estimate that creating
even a basic client is probably 6+ months of effort. As a point of
reference, the Java client has abotu 18,000 lines of code (not including
comments/whitespace/etc).

Going the route of wrapping the C++ client is definitely preferable.

Another option would be to use C++ or Java to build a small proxy, which
would speak a simpler protocol like GRPC on one side and use the Kudu
client on the other. This would of course add some latency and lower
throughput vs a direct connection but would be much easier to access from a
multitude of languages.

-Todd


-- 
Todd Lipcon
Software Engineer, Cloudera

Reply via email to