-
Notifications
You must be signed in to change notification settings - Fork 1k
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
KSQL-12194, KSQL-12195 | Classify MissingSchemaException and RecordTooLargeException as user errors. #10361
base: 7.6.x
Are you sure you want to change the base?
Conversation
… too large exceptions as user errors.
9b93fd1
to
d754960
Compare
@@ -46,8 +46,10 @@ public final class SchemaRegistryUtil { | |||
|
|||
@VisibleForTesting | |||
public static final int SUBJECT_NOT_FOUND_ERROR_CODE = 40401; | |||
public static final int SCHEMA_NOT_FOUND_ERROR_CODE = 40403; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious question how was the code 40403
determined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The error codes are from the SR code repo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, a couple of nit comments
@@ -131,7 +131,7 @@ | |||
<wiremock.version>2.24.0</wiremock.version> | |||
<clearspring-analytics.version>2.9.5</clearspring-analytics.version> | |||
<icu.version>67.1</icu.version> | |||
<vertx.version>4.4.6</vertx.version> | |||
<vertx.version>4.4.8</vertx.version> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that is a mistake, I will revert it.
Description
Classify MissingSchemaException and RecordTooLargeException as user errors.
Testing done
Describe the testing strategy. Unit and integration tests are expected for any behavior changes.
Reviewer checklist