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
* Add topic creation specific errors and test
* Add group deletion specific errors and change test
* Add topic record deletion specific errors and change test
* Include properties in error
* Add CHANGELOG.md entry
* Update test because there seems to be a change in error message depending on broker version
| `KafkaJSNonRetriableError` | Removed. Retriable errors are automatically retried by librdkafka, so there's no need for this type. Note that `error.retriable` still exists, but it's applicable only for transactional producer, where users are expected to retry an action themselves. All error types using this as a superclass now use `KafkaJSError` as their superclass. |
@@ -386,16 +389,13 @@ An example is made available [here](./examples/kafkajs/sr.js).
386
389
| `KafkaJSMetadataNotLoaded` | Removed. Metadata is automatically reloaded by librdkafka. |
387
390
| `KafkaJSTopicMetadataNotLoaded` | Removed. Topic metadata is automatically reloaded by librdkafka. |
388
391
| `KafkaJSStaleTopicMetadataAssignment` | removed as it's automatically refreshed by librdkafka. |
389
-
| `KafkaJSDeleteGroupsError` | Removed, as the Admin Client doesn't have this yet. May be added back again, or changed. |
390
392
| `KafkaJSServerDoesNotSupportApiKey` | Removed, as this error isn't generally exposed to user in librdkafka. If raised, it is subsumed into `KafkaJSError` where `error.code===Kafka.ErrorCode.ERR_UNSUPPORTED_VERSION`. |
391
393
| `KafkaJSBrokerNotFound` | Removed. This error isn't exposed directly to the user in librdkafka. |
392
394
| `KafkaJSLockTimeout` | Removed. This error is not applicable while using librdkafka. |
393
395
| `KafkaJSUnsupportedMagicByteInMessageSet` | Removed. It is subsumed into `KafkaJSError` where `error.code===Kafka.ErrorCode.ERR_UNSUPPORTED_VERSION`. |
394
-
| `KafkaJSDeleteTopicRecordsError` | Removed, as the Admin Client doesn't have this yet. May be added back again, or changed. |
395
396
| `KafkaJSInvariantViolation` | Removed, as it's not applicable to librdkafka. Errors in internal state are subsumed into `KafkaJSError` where `error.code===Kafka.ErrorCode.ERR__STATE`. |
396
397
| `KafkaJSInvalidVarIntError` | Removed. This error isn't exposed directly to the user in librdkafka. |
397
398
| `KafkaJSInvalidLongError` | Removed. This error isn't exposed directly to the user in librdkafka. |
398
-
| `KafkaJSCreateTopicError` | Removed, as the Admin Client doesn't have this yet. May be added back again, or changed.. |
399
399
| `KafkaJSAlterPartitionReassignmentsError` | removed, as the RPC is not used in librdkafka. |
400
400
| `KafkaJSFetcherRebalanceError` | Removed. This error isn't exposed directly to the user in librdkafka. |
401
401
| `KafkaJSConnectionError` | `broker` is removed from this object. |
0 commit comments