Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ v1.7.0 is a feature release. It is supported for all usage.

### Enhancements

1. Configurable batch size through the `js.consumer.max.batch.size` property
1. References librdkafka v2.12.1. Refer to the [librdkafka v2.12.1 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.12.1) for more information.
2. Configurable batch size through the `js.consumer.max.batch.size` property
and cache size through the `js.consumer.max.cache.size.per.worker.ms`
property (#393).
2. Statistics callback now available when using the promisified API with all
3. Statistics callback now available when using the promisified API with all
client types (#399).
3. Fix for at-least-once guarantee not ensured in case a seek happens on one
4. Fix for at-least-once guarantee not ensured in case a seek happens on one
partition and there are messages being fetched about other partitions (#393).


Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ For guidelines on contributing please see [CONTRIBUTING.md](CONTRIBUTING.md)
| 1.4.1 | 2.11.1 |
| 1.5.0 | 2.11.1 |
| 1.6.0 | 2.12.0 |
| 1.7.0 | 2.12.1 |

This mapping is applicable if you're using a pre-built binary. Otherwise, you can check the librdkafka version with the following command:

Expand Down
2 changes: 1 addition & 1 deletion lib/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ LibrdKafkaError.wrap = errorWrap;
* @constant
* @memberof RdKafka
*/
// ====== Generated from librdkafka 2.12.0 file src-cpp/rdkafkacpp.h ======
// ====== Generated from librdkafka 2.12.1 file src-cpp/rdkafkacpp.h ======
LibrdKafkaError.codes = {

/* Internal errors to rdkafka: */
Expand Down
2 changes: 1 addition & 1 deletion lib/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ util.dictToStringList = function (mapOrObject) {
return list;
};

util.bindingVersion = '1.7.0';
util.bindingVersion = '1.7.0-alpha.0';
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@confluentinc/kafka-javascript",
"version": "1.7.0",
"version": "1.7.0-alpha.0",
"description": "Node.js bindings for librdkafka",
"librdkafka": "2.12.0",
"librdkafka_win": "2.12.0",
"librdkafka": "2.12.1",
"librdkafka_win": "2.12.1",
"main": "lib/index.js",
"types": "types/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion schemaregistry/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@confluentinc/schemaregistry",
"version": "1.7.0",
"version": "1.7.0-alpha.0",
"description": "Node.js client for Confluent Schema Registry",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion types/config.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ====== Generated from librdkafka 2.12.0 file CONFIGURATION.md ======
// ====== Generated from librdkafka 2.12.1 file CONFIGURATION.md ======
// Code that generated this is a derivative work of the code from Nam Nguyen
// https://gist.github.com/ntgn81/066c2c8ec5b4238f85d1e9168a04e3fb

Expand Down
2 changes: 1 addition & 1 deletion types/errors.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// ====== Generated from librdkafka 2.12.0 file src-cpp/rdkafkacpp.h ======
// ====== Generated from librdkafka 2.12.1 file src-cpp/rdkafkacpp.h ======
export const CODES: { ERRORS: {
/* Internal errors to rdkafka: */
/** Begin internal error codes (**-200**) */
Expand Down