From a1dc9d115eea528901ac242e3a1aae1288d8d754 Mon Sep 17 00:00:00 2001 From: arvidn Date: Wed, 25 Oct 2017 20:26:35 +0200 Subject: [PATCH] fix typo in consumer documentation --- include/cppkafka/consumer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/cppkafka/consumer.h b/include/cppkafka/consumer.h index 37d8c34..117d035 100644 --- a/include/cppkafka/consumer.h +++ b/include/cppkafka/consumer.h @@ -67,7 +67,7 @@ class TopicConfiguration; * consumer.set_assignment_callback([&](vector& topic_partitions) { * // Here you could fetch offsets and do something, altering the offsets on the * // topic_partitions vector if needed - * cout << "Got assigned " << topic_partitions.count() << " partitions!" << endl; + * cout << "Got assigned " << topic_partitions.size() << " partitions!" << endl; * }); * * // Set the revocation callback