mirror of
https://github.com/Telecominfraproject/wlan-cloud-lib-cppkafka.git
synced 2025-11-02 19:47:55 +00:00
Fixes to queue polling and making them non-owning
This commit is contained in:
@@ -164,7 +164,10 @@ public:
|
||||
MessageList poll_batch(size_t max_batch_size, std::chrono::milliseconds timeout);
|
||||
|
||||
private:
|
||||
void consume_batch(MessageList& messages, ssize_t& count, std::chrono::milliseconds timeout);
|
||||
void consume_batch(Queue& queue,
|
||||
MessageList& messages,
|
||||
ssize_t& count,
|
||||
std::chrono::milliseconds timeout);
|
||||
|
||||
class CircularBuffer {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user