Skip to content

Commit

Permalink
Version bump to 2.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Parente committed Feb 12, 2018
1 parent cfc237b commit f5b9d80
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions lib/kafka-consumer.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ KafkaConsumer.prototype.committed = function(toppars, timeout, cb) {
* @example
* consumer.seek({ topic: 'topic', partition: 0, offset: 1000 }, 0, function(err) {
* if (err) {
*
*
* }
* });
*
Expand Down Expand Up @@ -472,8 +472,8 @@ KafkaConsumer.prototype._consumeNum = function(timeoutMs, numMessages, cb) {
* If you provide a topic partition, it will commit that. Otherwise,
* it will commit all read offsets for all topic partitions.
*
* @param {object|null} - Topic partition object to commit, or null if you
* are going to commit all read offsets.
* @param {object|array|null} - Topic partition object to commit, list of topic
* partitions, or null if you want to commit all read offsets.
* @throws When commit returns a non 0 error code
*
* @return {KafkaConsumer} - returns itself.
Expand Down Expand Up @@ -508,9 +508,8 @@ KafkaConsumer.prototype.commitMessage = function(msg) {
/**
* Commit a topic partition (or all topic partitions) synchronously
*
* @param {object|null} - Topic partition object to commit, or null if you
* are going to commit all read offsets.
*
* @param {object|array|null} - Topic partition object to commit, list of topic
* partitions, or null if you want to commit all read offsets.
* @throws {LibrdKafkaError} - if the commit fails
*
* @return {KafkaConsumer} - returns itself.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-rdkafka",
"version": "2.2.2",
"version": "2.2.3",
"description": "Node.js bindings for librdkafka",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit f5b9d80

Please sign in to comment.