Add initial consumer code

This commit is contained in:
Matias Fontanini
2016-05-21 19:31:24 -07:00
parent 61253e4f42
commit 4f50122393
10 changed files with 247 additions and 0 deletions

View File

@@ -43,6 +43,10 @@ void* Message::private_data() {
return handle_->_private;
}
Message::operator bool() const {
return handle_ != nullptr;
}
rd_kafka_message_t* Message::get_handle() const {
return handle_.get();
}