We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b22d38 commit dd7550fCopy full SHA for dd7550f
lib/kafka-consumer.js
@@ -371,7 +371,7 @@ KafkaConsumer.prototype.unsubscribe = function() {
371
* consumer can be subscribed to multiple topics.
372
*
373
* @param {number} size - Number of messages to read
374
- * @param {number} topic - Name of topic to read
+ * @param {string} topic - Name of topic to read
375
* @param {number} partition - Identifier of partition to read
376
* @param {KafkaConsumer~readCallback} cb - Callback to return when work is done.
377
*//**
0 commit comments