Matias Fontanini
Matias Fontanini
I think you'd have to rely on setting some flag and react to it from outside the callback. It's not ideal at all, but I really wouldn't want an exception...
VS2013's support for C++11 is pretty bad, so it likely won't work. Try updating your compiler version or use gcc/clang.
You need to have boost installed and provide the path using [`-DBOOST_ROOT`](https://cmake.org/cmake/help/v3.0/module/FindBoost.html). In order to run the tests you need to have kafka and zookeeper installed for now, you can...
The code looks fine well formed IMO. I would suggest upgrading your compiler, gcc 4.8.4 was released 6 years ago. That should fix your issue.
Did you try [this resource on the wiki](https://github.com/mfontanini/cppkafka/wiki/Compiling#windows)?
cppkafka is not an executable, it's a library. You can import it into a project and use it but you can't just "run it".
Can you expand on how it asynchronously throws? I tried using a bogus broker endpoint and it kept running forever trying to reconnect and never crashed. Can you show exactly...
Sorry it took me ages to reply. I think this question is more suitable to be done on the librdkafka repo as it seems to be implementation specific.
How are you building the example? By running `make examples`?
Are you linking with rdkafka? Because that would do it.