mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-10-31 18:47:48 +00:00
Clear messages acked/expected acks on buffered producer
This commit is contained in:
@@ -224,6 +224,8 @@ template <typename BufferType>
|
||||
void BufferedProducer<BufferType>::clear() {
|
||||
QueueType tmp;
|
||||
std::swap(tmp, messages_);
|
||||
expected_acks_ = 0;
|
||||
messages_acked_ = 0;
|
||||
}
|
||||
|
||||
template <typename BufferType>
|
||||
|
||||
Reference in New Issue
Block a user