Search Hadoop and all its sub project:

Switch to Threaded View
Subject: Re: C/C++ Client
Yes - we would be interested in doing that. I have been spending most of my
time over the past couple weeks on the C++ library (currently, only for the
producer). It is reasonably stable, although it has not been tried and
tested in production.

I can start with publishing a wiki describing the design/implementation and
list out future work that others can contribute to if there is interest,
but I'll quickly summarize some of its goals here:
- Use non-blocking I/O for sending requests/receiving responses. This
mitigates the request-response RTT latency that the 0.8 protocol introduces
(if acks != 0).
- C-compliant API, so that other languages e.g., Ruby/Python can wrap the
library. I understand there are people working on 0.8 clients in those
languages so this is just an alternative approach.
- Non-blocking variants for all operations in the API: there are some
use-cases where blocking in the user-thread is unacceptable.
- Keep third-party libraries to a minimum to make porting to other
platforms easier.

There are two options in pursuing this:
1 - Contribute it as part of the Kafka project. i.e., re-introduce the
clients directory. We removed it because none of the committers were
original authors of any of the non-Java clients and did not have the
bandwidth/background to review patches for those clients.
2 - Maintain it externally.
I was going to also suggest "sub-project" as a third option, but I heard
from Jakob that it is no longer encouraged by the board and a client by
itself would not be a substantial sub-project.

If we want to do (1), we would obviously go through the standard
contribution process: i.e., create a jira for it and provide a patch that
people can review; and other implementations will also be considered if
contributors provide patches.

(2) is also fine, although one benefit with (1) is that it would be
reasonable to use the existing infrastructure (mailing lists, issue
tracking) for the Kafka project.

Any preferences/thoughts?



On Mon, Apr 1, 2013 at 8:22 AM, mrevilgnome <[EMAIL PROTECTED]> wrote:
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB