Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new protocol errors #824

Merged
merged 3 commits into from
Aug 1, 2020
Merged

Add new protocol errors #824

merged 3 commits into from
Aug 1, 2020

Conversation

Nevon
Copy link
Collaborator

@Nevon Nevon commented Jul 24, 2020

None of these new errors have any impact that would currently require code changes, as they are all in relation to functionality that KafkaJS doesn't currently have.

The one exception being INVALID_RECORD, which we currently could get when producing, in which case we would just log that it's an unknown protocol error. When Produce v8 is implemented, this error could be improved by including more information about the invalid record. https://cwiki.apache.org/confluence/display/KAFKA/KIP-467%3A+Augment+ProduceResponse+error+messaging+for+specific+culprit+records

None of these new errors have any impact that would currently require code changes, as they
are all in relation to functionality that KafkaJS doesn't currently have.

The one exception being INVALID_RECORD, which we currently could get when producing, in which
case we would just log that it's an unknown protocol error. When Produce v8 is implemented,
this error could be improved by including more information about the invalid record.
@Nevon Nevon merged commit 23dc05b into master Aug 1, 2020
@Nevon Nevon deleted the support-new-errors branch August 1, 2020 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants