Matias Fontanini
Matias Fontanini
Sorry, I left that PR open for so long I forgot it had been fixed on another PR. If you clone master it should be fixed.
While I'm okay with these changes and this should probably have been done this way from the start, this change breaks the ABI and API. This: * Assumes nobody is...
Have you tried `make examples`? I'll add something I'm the docs but this should be fairly intuitive anyway.
Try a clean build, you have CMake errors which means something is broken. Are you building in the same directory where your source code is? You should be doing that...
Which OS are you building the library on? What error do you get if you remove `-lrt` from `examples/CMakeLists.txt`?
True, there should be some comment regarding flushing the producer. I'll add that now, thanks.
You can use the `BufferedProducer` and use `BufferedProducer::sync_produce`. This does a similar thing to what the rdkafka wiki entry talks about under the hood. Normally I always use this class...
Did you try reading the documentation? It's pretty self explanatory. See [the constructor](https://github.com/mfontanini/cppkafka/blob/master/include/cppkafka/utils/buffered_producer.h#L122) and [BufferedProducer::sync_produce](https://github.com/mfontanini/cppkafka/blob/master/include/cppkafka/utils/buffered_producer.h#L167). There's also [this example](https://github.com/mfontanini/cppkafka/blob/master/examples/buffered_producer_example.cpp) that which uses the buffered producer (although it does async production,...
Do you keep getting timeouts when flushing even though you shouldn't? I see timeouts when running tests against a local VM. I'm not sure why I get timeouts, given the...
I mentioned something about that in [this other ticket](https://github.com/mfontanini/cppkafka/issues/122#issuecomment-433930393). Unfortunately this is rdkafka's fault, as what cppkafka is doing there is just calling rdkafka's functions. It looks like rdkafka isn't...