mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-01 19:18:04 +00:00
Added pause/resume for producers (#87)
* Added pause/resume for producers * Moved pause/resume functions to KafkaHandleBase
This commit is contained in:
committed by
Matias Fontanini
parent
069ea3df8e
commit
5c72f3fe28
@@ -101,6 +101,7 @@ public:
|
||||
using AssignmentCallback = std::function<void(TopicPartitionList&)>;
|
||||
using RevocationCallback = std::function<void(const TopicPartitionList&)>;
|
||||
using RebalanceErrorCallback = std::function<void(Error)>;
|
||||
using KafkaHandleBase::pause;
|
||||
|
||||
/**
|
||||
* \brief Creates an instance of a consumer.
|
||||
@@ -202,7 +203,7 @@ public:
|
||||
/**
|
||||
* \brief Resumes all consumption
|
||||
*/
|
||||
void resume();
|
||||
void resume();
|
||||
|
||||
/**
|
||||
* \brief Commits the current partition assignment
|
||||
|
||||
Reference in New Issue
Block a user