mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-03 03:58:04 +00:00
Add examples
This commit is contained in:
@@ -71,6 +71,10 @@ rd_kafka_resp_err_t Message::get_error() const {
|
||||
return handle_->err;
|
||||
}
|
||||
|
||||
string Message::get_error_string() const {
|
||||
return rd_kafka_err2str(handle_->err);
|
||||
}
|
||||
|
||||
int Message::get_partition() const {
|
||||
return handle_->partition;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user