librdkafka provides an async interface:
https://github.com/edenhill/librdkafka/blob/master/rdkafka.h#L709

It is written in C but is used by C++ applications, a proper C++ interface
will be available shortly.

Regards,
Magnus


2014/1/26 Zicfy Hsu <zic...@gmail.com>

> It does not, please see Connection.cc.
>
>
> On Sat, Jan 25, 2014 at 5:18 AM, Michael Cyrulnik <mich...@chill.com>
> wrote:
>
> >
> > Does libkafka (c++) allow one to make an async producer?  If so, how?
> >
> > Client *client;
> > client = new Client('127.0.0.1', 9092);
> > client->sendProduceRequest(new ProduceRequest(correlationId, clientId,
> > requiredAcks, timeout, produceTopicArraySize, produceTopicArray, true));
> >
> > How would I make that non-blocking?
> >
> > thanks,
> >
> > Michael
> >
> >
>

Reply via email to