KAFKA-5876: IQ should throw different exceptions for different errors(part 1)#8200
KAFKA-5876: IQ should throw different exceptions for different errors(part 1)#8200mjsax merged 3 commits intoapache:trunkfrom
Conversation
|
test this please |
|
Thanks for the PR @vitojeng -- I put it into my review backlog :) |
|
@vitojeng This is a quite big PR -- would it make sense to break it into multiple? Maybe one that only add the new exception classed, and one each for using a new exception type? |
@mjsax The same feeling. Break it into multiple part is a good way. I will force-push the new exceptions only in this PR first. |
|
Hey @vitojeng -- sorry for the long delay... We had a big KIP review back log... I would dedicate review time now to get KIP-216 merged. Are you still interested in pushing it over the finish line? If yes, I would start with this PR in the next days. |
|
@mjsax Just rebase & force-pushed. |
|
Retest this please. |
1 similar comment
|
Retest this please. |
|
Jenkins does not cooperator right now. Will try again later. |
|
Address comments and rebase trunk. |
|
Retest this please. |
|
@vitojeng -- Jenkins got locked down a couple of week ago. Only committer can trigger builds now. |
|
Got it! |
|
LGTM! |
mjsax
left a comment
There was a problem hiding this comment.
Sorry (again... :() for the delayed review. Couple of minor suggestions to improve the JavaDocs. The goal of the KIP was really to make it easier for users to reason about the type of error and thus we should be a little bit more elaborative.
…(part 1) Add new sub-classes of InvalidStateStoreException
|
@mjsax Thanks for the review. Already address your comment. :) |
|
Retest this please. |
mjsax
left a comment
There was a problem hiding this comment.
LGTM.
Will merge after Jenkins passed.
|
Merged to Looking forward to the next PR(s) -- it's best to continue doing multiple smaller PRs (I leave it up to your judgment what the best way is to split the work in chunks.) |
Thanks @mjsax ! |
…t-for-generated-requests * apache-github/trunk: (148 commits) MINOR: remove NewTopic#NO_PARTITIONS and NewTopic#NO_REPLICATION_FACTOR as they are duplicate to CreateTopicsRequest#NO_NUM_PARTITIONS and CreateTopicsRequest#NO_REPLICATION_FACTOR (apache#9077) MINOR: Remove staticmethod tag to be able to use logger of instance (apache#9086) MINOR: Adjust 'release.py' script to use shell when using gradlewAll and PGP signing, which were required to build the 2.6.0 RCs (apache#9045) MINOR: Update dependencies for Kafka 2.7 (part 1) (apache#9082) MINOR: INFO log4j when request re-join (apache#9068) MINOR: Recommend Java 11 (apache#9080) KAFKA-10306: GlobalThread should fail on InvalidOffsetException (apache#9075) KAFKA-10158: Fix flaky testDescribeUnderReplicatedPartitionsWhenReassignmentIsInProgress (apache#9022) MINOR: code cleanup for `VOut` inconsistent naming (apache#8907) KAFKA-10246 : AbstractProcessorContext topic() throws NPE (apache#9034) KAFKA-10305: Print usage when parsing fails for ConsumerPerformance (apache#9071) MINOR: removed incorrect deprecation annotations (apache#9061) MINOR: speed up release script (apache#9070) MINOR: add task ':streams:testAll' (apache#9073) KAFKA-10301: Do not clear Partition#remoteReplicasMap during partition assignment updates (apache#9065) KAFKA-10268: dynamic config like "--delete-config log.retention.ms" doesn't work (apache#9051) KAFKA-10300 fix flaky core/group_mode_transactions_test.py (apache#9059) MINOR: Publish metrics package in the javadoc (apache#9036) KAFKA-8264: decrease the record size for flaky test KAFKA-5876: Add new exception types for Interactive Queries (apache#8200) ...
KAFKA-5876's PR break into multiple parts. This PR is part 1: the new exceptions introduced in KIP-216
Committer Checklist (excluded from commit message)