Skip to content

Commit dd7550f

Browse files
committed
fix: change param type
1 parent 6b22d38 commit dd7550f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/kafka-consumer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ KafkaConsumer.prototype.unsubscribe = function() {
371371
* consumer can be subscribed to multiple topics.
372372
*
373373
* @param {number} size - Number of messages to read
374-
* @param {number} topic - Name of topic to read
374+
* @param {string} topic - Name of topic to read
375375
* @param {number} partition - Identifier of partition to read
376376
* @param {KafkaConsumer~readCallback} cb - Callback to return when work is done.
377377
*//**

0 commit comments

Comments
 (0)