KAFKA-5876: Apply UnknownStateStoreException for Interactive Queries#9821
Conversation
|
@mjsax Sorry for the long pause, please take a look. :) |
@mjsax In the KIP-216, we talk about all sub types of InvalidStateStoreException. That means this KIP only focus on the existing code that throws InvalidStateStoreException, IMHO. Seems there not have any InvalidStateStoreException thrown in the It looks like it will break the API for the new exception. If the answer is 'Yes', should we need another KIP? |
e622c7e to
07fe4b2
Compare
@ableegoldman Yes. Personally, I hope to complete this KIP's work. 😄 |
|
Awesome. I can help get this current PR reviewed and merged from here, and probably find you someone else to review the next PR(s) since I'm pretty busy 🙂 Now, regarding your last question on this PR: am I reading it correctly that we just don't ever throw Personally, I think it's ok to just throw whatever exception makes sense from wherever in the code it makes sense to do so. You can send a quick update note to the KIP thread to say that you're making this amendment, and if anyone has a concern they can respond there. For this specific case: it certainly seems to make sense that |
Great, thanks.
@ableegoldman I just feel that I may need to point out this(will break the API for the new exception). |
|
@vitojeng @mjsax @ableegoldman |
|
Fine with me. It does seem odd that we'd be inconsistent, but I don't think we need to solve everything with this one KIP/PR. Let's just file a ticket for this so we don't forget. (FWIW I think it was neither an oversight nor an intentional design, at least in the case of I think in that case, this PR covers everything it needs to. @vitojeng Can you just add a quick note about this new exception to the streams upgrade guide under the section for API changes in 3.0? |
|
Thanks for great discussion. |
07fe4b2 to
49d744d
Compare
Co-authored-by: A. Sophie Blee-Goldman <ableegoldman@gmail.com>
ableegoldman
left a comment
There was a problem hiding this comment.
Alright, LGTM. @vitojeng please ping me when the PR build is done and I'll merge
|
@ableegoldman |
|
Just two unrelated test failures in the build: |
|
Merged to trunk, ready for the next PR 🙂 |
Will do, thanks @ableegoldman ! |
follow-up #8200
KAFKA-5876's PR break into multiple parts, this PR is part 2 - apply UnknownStateStoreException
Committer Checklist (excluded from commit message)