mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 11:07:56 +00:00
Add getters for Consumer callbacks
This commit is contained in:
@@ -282,6 +282,21 @@ public:
|
||||
*/
|
||||
std::string get_member_id() const;
|
||||
|
||||
/**
|
||||
* Gets the partition assignment callback.
|
||||
*/
|
||||
const AssignmentCallback& get_assignment_callback() const;
|
||||
|
||||
/**
|
||||
* Gets the partition revocation callback.
|
||||
*/
|
||||
const RevocationCallback& get_revocation_callback() const;
|
||||
|
||||
/**
|
||||
* Gets the rebalance error callback.
|
||||
*/
|
||||
const RebalanceErrorCallback& get_rebalance_error_callback() const;
|
||||
|
||||
/**
|
||||
* \brief Polls for new messages
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user