Skip to content

Commit 2c3ed6d

Browse files
authored
Bump version for 1.3.0-RC1 (#291)
* Bump version to 1.3.0-RC3 * Changes for test tag * Bump version internal version * Remove -dev tag
1 parent a7a637c commit 2c3ed6d

File tree

11 files changed

+42
-25
lines changed

11 files changed

+42
-25
lines changed

.semaphore/semaphore.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ global_job_config:
2828
- git submodule update --init --recursive
2929
- cd deps/librdkafka
3030
- git fetch origin
31-
- git checkout v2.8.0
31+
- git checkout v2.10.0
3232
- cd ../../
3333
- cache clear
3434

@@ -115,7 +115,7 @@ blocks:
115115
- name: "Docs"
116116
commands:
117117
- make docs
118-
118+
119119
- name: "(SR) Linux amd64: test, e2e"
120120
dependencies: [ ]
121121
task:
@@ -136,7 +136,7 @@ blocks:
136136
commands:
137137
- '[[ -z $DOCKERHUB_APIKEY ]] || docker login --username $DOCKERHUB_USER --password $DOCKERHUB_APIKEY'
138138
- make integtest
139-
139+
140140
- name: "Linux amd64: Performance"
141141
dependencies: [ ]
142142
task:

CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
# confluent-kafka-javascript v1.3.0
2+
3+
v1.3.0 is a feature release. It is supported for all usage.
4+
5+
## Enhancements
6+
7+
1. References librdkafka v2.10.0. Refer to the [librdkafka v2.10.0 release notes](https://github.com/confluentinc/librdkafka/releases/tag/v2.10.0) for more information.
8+
9+
110
# confluent-kafka-javascript v1.2.0
211

312
v1.2.0 is a feature release. It is supported for all usage.

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ For guidelines on contributing please see [CONTRIBUTING.md](CONTRIBUTING.md)
112112
| -------------------------- | ---------- |
113113
| 1.0.0 | 2.6.1 |
114114
| 1.2.0 | 2.8.0 |
115+
| 1.3.0 | 2.10.0 |
115116

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

deps/librdkafka

Submodule librdkafka updated 126 files

lib/error.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ LibrdKafkaError.wrap = errorWrap;
2828
* @constant
2929
* @memberof RdKafka
3030
*/
31-
// ====== Generated from librdkafka 2.8.0 file src-cpp/rdkafkacpp.h ======
31+
// ====== Generated from librdkafka 2.10.0 file src-cpp/rdkafkacpp.h ======
3232
LibrdKafkaError.codes = {
3333

3434
/* Internal errors to rdkafka: */

lib/util.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ util.dictToStringList = function (mapOrObject) {
5252
return list;
5353
};
5454

55-
util.bindingVersion = '1.2.0';
55+
util.bindingVersion = '1.3.0-rc1';

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"name": "@confluentinc/kafka-javascript",
3-
"version": "1.2.0",
3+
"version": "1.3.0-rc1",
44
"description": "Node.js bindings for librdkafka",
5-
"librdkafka": "2.8.0",
6-
"librdkafka_win": "2.8.0",
5+
"librdkafka": "2.10.0",
6+
"librdkafka_win": "2.10.0",
77
"main": "lib/index.js",
88
"types": "types/index.d.ts",
99
"scripts": {
@@ -65,4 +65,4 @@
6565
"schemaregistry",
6666
"schemaregistry-examples"
6767
]
68-
}
68+
}

schemaregistry/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@confluentinc/schemaregistry",
3-
"version": "1.2.0",
3+
"version": "1.3.0-rc1",
44
"description": "Node.js client for Confluent Schema Registry",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -69,4 +69,4 @@
6969
"url": "[email protected]:confluentinc/confluent-kafka-javascript.git"
7070
},
7171
"license": "MIT"
72-
}
72+
}

types/config.d.ts

+16-9
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ====== Generated from librdkafka 2.8.0 file CONFIGURATION.md ======
1+
// ====== Generated from librdkafka 2.10.0 file CONFIGURATION.md ======
22
// Code that generated this is a derivative work of the code from Nam Nguyen
33
// https://gist.github.com/ntgn81/066c2c8ec5b4238f85d1e9168a04e3fb
44

@@ -62,6 +62,13 @@ export interface GlobalConfig {
6262
*/
6363
"max.in.flight"?: number;
6464

65+
/**
66+
* Controls how the client recovers when none of the brokers known to it is available. If set to `none`, the client fails with a fatal error. If set to `rebootstrap`, the client repeats the bootstrap process using `bootstrap.servers` and brokers added through `rd_kafka_brokers_add()`. Rebootstrapping is useful when a client communicates with brokers so infrequently that the set of brokers may change entirely before the client refreshes metadata. Metadata recovery is triggered when all last-known brokers appear unavailable simultaneously.
67+
*
68+
* @default rebootstrap
69+
*/
70+
"metadata.recovery.strategy"?: 'none' | 'rebootstrap';
71+
6572
/**
6673
* Period of time in milliseconds at which topic and broker metadata is refreshed in order to proactively discover any new brokers, topics, partitions or partition leader changes. Use -1 to disable the intervalled refresh (not recommended). If there are no locally referenced topics (no topic objects created, no messages produced, no subscription or no assignment) then only the broker list will be refreshed every interval but no more often than every 10s.
6774
*
@@ -152,7 +159,7 @@ export interface GlobalConfig {
152159
/**
153160
* Disable the Nagle algorithm (TCP_NODELAY) on broker sockets.
154161
*
155-
* @default false
162+
* @default true
156163
*/
157164
"socket.nagle.disable"?: boolean;
158165

@@ -329,7 +336,7 @@ export interface GlobalConfig {
329336
"internal.termination.signal"?: number;
330337

331338
/**
332-
* Request broker's supported API versions to adjust functionality to available protocol features. If set to false, or the ApiVersionRequest fails, the fallback version `broker.version.fallback` will be used. **NOTE**: Depends on broker version >=0.10.0. If the request is not supported by (an older) broker the `broker.version.fallback` fallback is used.
339+
* **DEPRECATED** **Post-deprecation actions: remove this configuration property, brokers < 0.10.0 won't be supported anymore in librdkafka 3.x.** Request broker's supported API versions to adjust functionality to available protocol features. If set to false, or the ApiVersionRequest fails, the fallback version `broker.version.fallback` will be used. **NOTE**: Depends on broker version >=0.10.0. If the request is not supported by (an older) broker the `broker.version.fallback` fallback is used.
333340
*
334341
* @default true
335342
*/
@@ -343,14 +350,14 @@ export interface GlobalConfig {
343350
"api.version.request.timeout.ms"?: number;
344351

345352
/**
346-
* Dictates how long the `broker.version.fallback` fallback is used in the case the ApiVersionRequest fails. **NOTE**: The ApiVersionRequest is only issued when a new connection to the broker is made (such as after an upgrade).
353+
* **DEPRECATED** **Post-deprecation actions: remove this configuration property, brokers < 0.10.0 won't be supported anymore in librdkafka 3.x.** Dictates how long the `broker.version.fallback` fallback is used in the case the ApiVersionRequest fails. **NOTE**: The ApiVersionRequest is only issued when a new connection to the broker is made (such as after an upgrade).
347354
*
348355
* @default 0
349356
*/
350357
"api.version.fallback.ms"?: number;
351358

352359
/**
353-
* Older broker versions (before 0.10.0) provide no way for a client to query for supported protocol features (ApiVersionRequest, see `api.version.request`) making it impossible for the client to know what features it may use. As a workaround a user may set this property to the expected broker version and the client will automatically adjust its feature set accordingly if the ApiVersionRequest fails (or is disabled). The fallback broker version will be used for `api.version.fallback.ms`. Valid values are: 0.9.0, 0.8.2, 0.8.1, 0.8.0. Any other value >= 0.10, such as 0.10.2.1, enables ApiVersionRequests.
360+
* **DEPRECATED** **Post-deprecation actions: remove this configuration property, brokers < 0.10.0 won't be supported anymore in librdkafka 3.x.** Older broker versions (before 0.10.0) provide no way for a client to query for supported protocol features (ApiVersionRequest, see `api.version.request`) making it impossible for the client to know what features it may use. As a workaround a user may set this property to the expected broker version and the client will automatically adjust its feature set accordingly if the ApiVersionRequest fails (or is disabled). The fallback broker version will be used for `api.version.fallback.ms`. Valid values are: 0.9.0, 0.8.2, 0.8.1, 0.8.0. Any other value >= 0.10, such as 0.10.2.1, enables ApiVersionRequests.
354361
*
355362
* @default 0.10.0
356363
*/
@@ -796,28 +803,28 @@ export interface ConsumerGlobalConfig extends GlobalConfig {
796803
"group.instance.id"?: string;
797804

798805
/**
799-
* The name of one or more partition assignment strategies. The elected group leader will use a strategy supported by all members of the group to assign partitions to group members. If there is more than one eligible strategy, preference is determined by the order of this list (strategies earlier in the list have higher priority). Cooperative and non-cooperative (eager) strategies must not be mixed. Available strategies: range, roundrobin, cooperative-sticky.
806+
* The name of one or more partition assignment strategies. The elected group leader will use a strategy supported by all members of the group to assign partitions to group members. If there is more than one eligible strategy, preference is determined by the order of this list (strategies earlier in the list have higher priority). Cooperative and non-cooperative (eager)strategies must not be mixed. `partition.assignment.strategy` is not supported for `group.protocol=consumer`. Use `group.remote.assignor` instead. Available strategies: range, roundrobin, cooperative-sticky.
800807
*
801808
* @default range,roundrobin
802809
*/
803810
"partition.assignment.strategy"?: string;
804811

805812
/**
806-
* Client group session and failure detection timeout. The consumer sends periodic heartbeats (heartbeat.interval.ms) to indicate its liveness to the broker. If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance. The allowed range is configured with the **broker** configuration properties `group.min.session.timeout.ms` and `group.max.session.timeout.ms`. Also see `max.poll.interval.ms`.
813+
* Client group session and failure detection timeout. The consumer sends periodic heartbeats (heartbeat.interval.ms) to indicate its liveness to the broker. If no hearts are received by the broker for a group member within the session timeout, the broker will remove the consumer from the group and trigger a rebalance. The allowed range is configured with the **broker** configuration properties `group.min.session.timeout.ms` and `group.max.session.timeout.ms`. `session.timeout.ms` is not supported for `group.protocol=consumer`. It is set with the broker configuration property `group.consumer.session.timeout.ms` by default or can be configured through the AdminClient IncrementalAlterConfigs API. The allowed range is configured with the broker configuration properties `group.consumer.min.session.timeout.ms` and `group.consumer.max.session.timeout.ms`. Also see `max.poll.interval.ms`.
807814
*
808815
* @default 45000
809816
*/
810817
"session.timeout.ms"?: number;
811818

812819
/**
813-
* Group session keepalive heartbeat interval.
820+
* Group session keepalive heartbeat interval. `heartbeat.interval.ms` is not supported for `group.protocol=consumer`. It is set with the broker configuration property `group.consumer.heartbeat.interval.ms` by default or can be configured through the AdminClient IncrementalAlterConfigs API. The allowed range is configured with the broker configuration properties `group.consumer.min.heartbeat.interval.ms` and `group.consumer.max.heartbeat.interval.ms`.
814821
*
815822
* @default 3000
816823
*/
817824
"heartbeat.interval.ms"?: number;
818825

819826
/**
820-
* Group protocol type for the `classic` group protocol. NOTE: Currently, the only supported group protocol type is `consumer`.
827+
* Group protocol type for the `classic` group protocol. NOTE: Currently, the only supported group protocol type is `consumer`. `group.protocol.type` is not supported for `group.protocol=consumer`
821828
*
822829
* @default consumer
823830
*/

types/errors.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// ====== Generated from librdkafka 2.8.0 file src-cpp/rdkafkacpp.h ======
1+
// ====== Generated from librdkafka 2.10.0 file src-cpp/rdkafkacpp.h ======
22
export const CODES: { ERRORS: {
33
/* Internal errors to rdkafka: */
44
/** Begin internal error codes (**-200**) */

0 commit comments

Comments
 (0)