You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+2-5Lines changed: 2 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -41,12 +41,9 @@ library's core.
41
41
42
42
### Pull Requests
43
43
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
-
47
44
* Include new test cases (either end-to-end or unit tests) with your change.
48
45
* 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.
50
47
* End files with a new line.
51
48
* Document the new code in the comments (if it is JavaScript) so the
52
49
documentation generator can update the reference documentation.
@@ -231,7 +228,7 @@ Steps to update:
231
228
232
229
## Releasing
233
230
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`.
235
232
236
233
1. Run `npm install` to update the `package-lock.json` file.
**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.
6
6
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:
9
8
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.
11
12
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.
13
16
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/).
18
18
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/).
20
23
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!
22
25
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".
24
31
25
32
26
33
## Requirements
27
34
28
-
The following configurations are supported for this early access preview:
35
+
The following configurations are supported:
29
36
30
37
* Any supported version of Node.js (The two LTS versions, 18 and 20, and the latest versions, 21 and 22).
31
38
* Linux (x64 and arm64) - both glibc and musl/alpine.
32
39
* macOS - arm64/m1.
33
-
* Windows - x64 (experimentally available in EA).
40
+
* Windows - x64.
34
41
35
42
Installation on any of these platforms is meant to be seamless, without any C/C++ compilation required.
36
43
37
44
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).
38
45
39
46
```bash
40
-
$ npm install @confluentinc/kafka-javascript
47
+
npm install @confluentinc/kafka-javascript
41
48
```
42
49
43
50
Yarn and pnpm support is experimental.
@@ -97,5 +104,5 @@ An in-depth reference may be found at [INTRODUCTION.md](INTRODUCTION.md).
97
104
98
105
## Contributing
99
106
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.
101
108
For guidelines on contributing please see [CONTRIBUTING.md](CONTRIBUTING.md)
0 commit comments