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