Skip to content

Commit c529f2e

Browse files
authored
Bump version to 0.2.0 and drop -devel (#100)
1 parent 0e7d7e7 commit c529f2e

File tree

8 files changed

+40
-28
lines changed

8 files changed

+40
-28
lines changed

.semaphore/semaphore.yml

Lines changed: 1 addition & 1 deletion
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 pull origin master
31+
- git checkout v2.5.3
3232
- cd ../../
3333
- cache clear
3434

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
# confluent-kafka-javascript v0.2.0
2+
3+
v0.2.0 is a limited availability release. It is supported for all usage.
4+
5+
## Features
6+
1. Switch to using `librdkafka` on the latest released tag `v2.5.3` instead of `master`.
7+
8+
19
# confluent-kafka-javascript v0.1.17-devel
210

311
v0.1.17-devel is a pre-production, early-access release.

CONTRIBUTING.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,9 @@ library's core.
4141

4242
### Pull Requests
4343

44-
NOTE: Pull requests while the library in EA are discouraged, as we are still
45-
working on the API and may make breaking changes.
46-
4744
* Include new test cases (either end-to-end or unit tests) with your change.
4845
* Follow our style guides.
49-
* Make sure all tests are still passing and the `linter` does not report any issues.
46+
* Make sure all tests are still passing and the linter does not report any issues.
5047
* End files with a new line.
5148
* Document the new code in the comments (if it is JavaScript) so the
5249
documentation generator can update the reference documentation.
@@ -231,7 +228,7 @@ Steps to update:
231228

232229
## Releasing
233230

234-
1. Increment the `version` in `package.json`. Change the version in `client.js` and `README.md`.
231+
1. Increment the `version` in `package.json`. Change the version in `client.js` and `README.md`. Change the librdkafka version in `semaphore.yml` and in `package.json`.
235232

236233
1. Run `npm install` to update the `package-lock.json` file.
237234

README.md

Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,49 @@ Confluent's Javascript Client for Apache Kafka<sup>TM</sup>
22
=====================================================
33

44
**confluent-kafka-javascript** is Confluent's JavaScript client for [Apache Kafka](http://kafka.apache.org/) and the
5-
[Confluent Platform](https://www.confluent.io/product/compare/). This is an **early access** library. The goal is to provide an highly performant, reliable and easy to use JavaScript client that is based on [node-rdkafka](https://github.com/Blizzard/node-rdkafka) yet also API compatible with [KafkaJS](https://github.com/tulios/kafkajs) to provide flexibility to users and streamline migrations from other clients.
5+
[Confluent Platform](https://www.confluent.io/product/compare/). This is an **limited availability** library. The goal is to provide an highly performant, reliable and easy to use JavaScript client that is based on [node-rdkafka](https://github.com/Blizzard/node-rdkafka) yet also API compatible with [KafkaJS](https://github.com/tulios/kafkajs) to provide flexibility to users and streamline migrations from other clients.
66

7-
This library leverages the work and concepts from two popular Apache Kafka JavaScript clients: [node-rdkafka](https://github.com/Blizzard/node-rdkafka) and [KafkaJS](https://github.com/tulios/kafkajs). The core is heavily based on the node-rdkafka library, which uses our own [librdkafka](https://github.com/confluentinc/librdkafka/tree/v2.3.0) library for core client functionality. However, we leverage a promisified API and a more idiomatic interface, similar to the one in KafkaJS, making it easy for developers to migrate and adopt this client depending on the patterns and interface they prefer.
8-
__This library currently uses `librdkafka` based off of the master branch.__
7+
Features:
98

10-
## This library is currently in early access and not meant for production use
9+
- **High performance** - confluent-kafka-javascript is a lightweight wrapper around
10+
[librdkafka](https://github.com/confluentinc/librdkafka), a finely tuned C
11+
client.
1112

12-
**This library is in active development, pre-1.0.0, and it is likely to have many breaking changes.**
13+
- **Reliability** - There are a lot of details to get right when writing an Apache Kafka
14+
client. We get them right in one place (librdkafka) and leverage this work
15+
across all of our clients.
1316

14-
For this early-access release, we aim to get feedback from JavaScript developers within the Apache Kafka community to help meet your needs. Some areas of feedback we are looking for include:
15-
- Usability of the API compared to other clients
16-
- Migration experience from the node-rdkafka and KafkaJs
17-
- Overall quality and reliability
17+
- **Supported** - Commercial support is offered by [Confluent](https://confluent.io/).
1818

19-
We invite you to raise issues to highlight any feedback you may have.
19+
- **Future proof** - Confluent, founded by the
20+
creators of Kafka, is building a [streaming platform](https://www.confluent.io/product/)
21+
with Apache Kafka at its core. It's high priority for us that client features keep
22+
pace with core Apache Kafka and components of the [Confluent Platform](https://www.confluent.io/product/).
2023

21-
Within the early-access, only **basic produce and consume functionality** as well as the ability to **create and delete topics** are supported. All other admin client functionality is coming in future releases. See [INTRODUCTION.md](INTRODUCTION.md) for more details on what is supported.
24+
This library leverages the work and concepts from two popular Apache Kafka JavaScript clients: [node-rdkafka](https://github.com/Blizzard/node-rdkafka) and [KafkaJS](https://github.com/tulios/kafkajs). The core is heavily based on the node-rdkafka library, which uses our own [librdkafka](https://github.com/confluentinc/librdkafka) library for core client functionality. However, we leverage a promisified API and a more idiomatic interface, similar to the one in KafkaJS, making it easy for developers to migrate and adopt this client depending on the patterns and interface they prefer. We're very happy to have been able to leverage the excellent work of the many authors of these libraries!
2225

23-
To use **Schema Registry**, use the existing [kafkajs/confluent-schema-registry](https://github.com/kafkajs/confluent-schema-registry) library that is compatible with this library. For a simple schema registry example, see [sr.js](https://github.com/confluentinc/confluent-kafka-javascript/blob/dev_early_access_development_branch/examples/kafkajs/sr.js). **DISCLAIMER:** Although it is compatible with **confluent-kafka-javascript**, Confluent does not own or maintain kafkajs/confluent-schema-registry, and the use and functionality of the library should be considered "as is".
26+
### This library is currently in limited-availability - it is supported for all usage but for the schema-registry client.
27+
28+
To use **Schema Registry**, use the existing [kafkajs/confluent-schema-registry](https://github.com/kafkajs/confluent-schema-registry) library that is compatible with this library. For a simple schema registry example, see [sr.js](https://github.com/confluentinc/confluent-kafka-javascript/blob/dev_early_access_development_branch/examples/kafkajs/sr.js).
29+
30+
**DISCLAIMER:** Although it is compatible with **confluent-kafka-javascript**, Confluent does not own or maintain kafkajs/confluent-schema-registry, and the use and functionality of the library should be considered "as is".
2431

2532

2633
## Requirements
2734

28-
The following configurations are supported for this early access preview:
35+
The following configurations are supported:
2936

3037
* Any supported version of Node.js (The two LTS versions, 18 and 20, and the latest versions, 21 and 22).
3138
* Linux (x64 and arm64) - both glibc and musl/alpine.
3239
* macOS - arm64/m1.
33-
* Windows - x64 (experimentally available in EA).
40+
* Windows - x64.
3441

3542
Installation on any of these platforms is meant to be seamless, without any C/C++ compilation required.
3643

3744
In case your system configuration is not within the supported ones, [a supported version of Python](https://devguide.python.org/versions/) must be available on the system for the installation process. [This is required for the `node-gyp` build tool.](https://github.com/nodejs/node-gyp?tab=readme-ov-file#configuring-python-dependency).
3845

3946
```bash
40-
$ npm install @confluentinc/kafka-javascript
47+
npm install @confluentinc/kafka-javascript
4148
```
4249

4350
Yarn and pnpm support is experimental.
@@ -97,5 +104,5 @@ An in-depth reference may be found at [INTRODUCTION.md](INTRODUCTION.md).
97104

98105
## Contributing
99106

100-
Bug reports and early-access feedback is appreciated in the form of Github Issues.
107+
Bug reports and feedback is appreciated in the form of Github Issues.
101108
For guidelines on contributing please see [CONTRIBUTING.md](CONTRIBUTING.md)

lib/util.js

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

55-
util.bindingVersion = 'v0.1.17-devel';
55+
util.bindingVersion = 'v0.2.0';

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@confluentinc/kafka-javascript",
3-
"version": "v0.1.17-devel",
3+
"version": "v0.2.0",
44
"description": "Node.js bindings for librdkafka",
5-
"librdkafka": "master",
5+
"librdkafka": "2.5.3",
66
"librdkafka_win": "2.5.3",
77
"main": "lib/index.js",
88
"types": "types/index.d.ts",

0 commit comments

Comments
 (0)