mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 11:07:56 +00:00
Added support for message status and setting the event mask
This commit is contained in:
@@ -187,6 +187,13 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (RD_KAFKA_VERSION >= RD_KAFKA_MESSAGE_STATUS_SUPPORT_VERSION)
|
||||
rd_kafka_msg_status_t get_status() const {
|
||||
assert(handle_);
|
||||
return rd_kafka_message_status(handle_.get());
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* \brief Indicates whether this message is valid (not null)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user