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
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -195,7 +195,7 @@ You can add breakpoints and so on after that.
195
195
196
196
## Updating librdkafka version
197
197
198
-
The librdkafka should be periodically updated to the latest release in https://github.com/edenhill/librdkafka/releases
198
+
The librdkafka should be periodically updated to the latest release in https://github.com/confluentinc/librdkafka/releases
199
199
200
200
Steps to update:
201
201
1. Update the `librdkafka` property in [`package.json`](https://github.com/confluentinc/confluent-kafka-js/blob/master/package.json) to the desired version.
Exhaustive list of error types and error fields removed:
33
+
1.`KafkaJSNonRetriableError`: retriable errors are automatically retried by librdkafka, so there's no need for this type.
34
+
Note that `error.retriable` still exists, but it's applicable only for transactional producer,
35
+
where users are expected to retry an action themselves.
36
+
All error types using this as a superclass now use `KafkaJSError` as their superclass.
37
+
2.`topic` and `partition` are removed from `KafkaJSOffsetOutOfRange`.
38
+
3.`KafkaJSMemberIdRequired`: removed as automatically handled by librdkafka.
39
+
4.`KafkaJSNumberOfRetriesExceeded`: removed as retries are handled by librdkafka.
40
+
5.`broker, correlationId, createdAt, sentAt` and `pendingDuration` are removed from `KafkaJSNumberOfRetriesExceeded`.
41
+
6.`KafkaJSMetadataNotLoaded`: removed as metadata is automatically reloaded by librdkafka.
42
+
7.`KafkaJSTopicMetadataNotLoaded`: removed as topic metadata is automatically reloaded by librdkafka.
43
+
8.`KafkaJSStaleTopicMetadataAssignment`: removed as it's automatically refreshed by librdkafka.
44
+
9.`KafkaJSDeleteGroupsError`: removed, as the Admin Client doesn't have this yet. May be added back again, or changed.
45
+
10.`KafkaJSServerDoesNotSupportApiKey`: removed, as this error isn't generally exposed to user in librdkafka. If raised,
46
+
it is subsumed into `KafkaJSError` where `error.code === Kafka.ErrorCode.ERR_UNSUPPORTED_VERSION`.
47
+
11.`KafkaJSBrokerNotFound`: removed, as this error isn't exposed directly to the user in librdkafka.
48
+
12.`KafkaJSLockTimeout`: removed, as such an error is not applicable while using librdkafka.
49
+
13.`KafkaJSUnsupportedMagicByteInMessageSet`: removed. It is subsumed into `KafkaJSError` where `error.code === Kafka.ErrorCode.ERR_UNSUPPORTED_VERSION`.
50
+
14.`KafkaJSDeleteTopicRecordsError`: removed, as the Admin Client doesn't have this yet. May be added back again, or changed.
51
+
15.`KafkaJSInvariantViolation`: removed, as it's not applicable to librdkafka. Errors in internal state are subsumed into `KafkaJSError` where `error.code === Kafka.ErrorCode.ERR__STATE`.
52
+
16.`KafkaJSInvalidVarIntError`: removed, as it's not exposed to the user in librdkafka.
53
+
17.`KafkaJSInvalidLongError`: removed, as it's not exposed to the user in librdkafka.
54
+
18.`KafkaJSCreateTopicError`: removed, as the Admin Client doesn't have this yet. May be added back again, or changed.
55
+
19.`KafkaJSAlterPartitionReassignmentsError`: removed, as the RPC is not used in librdkafka.
56
+
20.`KafkaJSFetcherRebalanceError`: removed, it's not exposed to the user in librdkafka.
57
+
21.`broker` is removed from `KafkaJSConnectionError`.
58
+
22.`KafkaJSConnectionClosedError`: removed, and subsumed into `KafkaJSConnectionError` as librdkafka treats them equivalently.
0 commit comments