Skip to content

Commit f5b9d80

Browse files
author
Stephen Parente
committed
Version bump to 2.2.3
1 parent cfc237b commit f5b9d80

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

lib/kafka-consumer.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ KafkaConsumer.prototype.committed = function(toppars, timeout, cb) {
204204
* @example
205205
* consumer.seek({ topic: 'topic', partition: 0, offset: 1000 }, 0, function(err) {
206206
* if (err) {
207-
*
207+
*
208208
* }
209209
* });
210210
*
@@ -472,8 +472,8 @@ KafkaConsumer.prototype._consumeNum = function(timeoutMs, numMessages, cb) {
472472
* If you provide a topic partition, it will commit that. Otherwise,
473473
* it will commit all read offsets for all topic partitions.
474474
*
475-
* @param {object|null} - Topic partition object to commit, or null if you
476-
* are going to commit all read offsets.
475+
* @param {object|array|null} - Topic partition object to commit, list of topic
476+
* partitions, or null if you want to commit all read offsets.
477477
* @throws When commit returns a non 0 error code
478478
*
479479
* @return {KafkaConsumer} - returns itself.
@@ -508,9 +508,8 @@ KafkaConsumer.prototype.commitMessage = function(msg) {
508508
/**
509509
* Commit a topic partition (or all topic partitions) synchronously
510510
*
511-
* @param {object|null} - Topic partition object to commit, or null if you
512-
* are going to commit all read offsets.
513-
*
511+
* @param {object|array|null} - Topic partition object to commit, list of topic
512+
* partitions, or null if you want to commit all read offsets.
514513
* @throws {LibrdKafkaError} - if the commit fails
515514
*
516515
* @return {KafkaConsumer} - returns itself.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "node-rdkafka",
3-
"version": "2.2.2",
3+
"version": "2.2.3",
44
"description": "Node.js bindings for librdkafka",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)