Header support implementation (#115)

* header support implementation

* Fixed issue when ptr is null and doesn't have a cloner function

* Code complete with test cases

updated travis file with v0.11.5

* Added compile time check for rdkafka header support version

* Changes per last code review

* Using brace list initializers
This commit is contained in:
Alex Damian
2018-10-16 13:58:05 -04:00
committed by Matias Fontanini
parent 9af4330c6d
commit fbe3759fed
20 changed files with 1316 additions and 51 deletions

View File

@@ -195,7 +195,7 @@ TEST_CASE("consumer throttle", "[consumer]") {
if (callback_executed_count == 3) {
return Message();
}
return move(msg);
return msg;
},
[&](ConsumerDispatcher::Timeout) {
if (callback_executed_count == 3) {