mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-19 11:14:50 +00:00
Add initial consumer code
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user