-
-
Notifications
You must be signed in to change notification settings - Fork 95
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
KC: Stop Connectors and Reset Connector Offsets #573
KC: Stop Connectors and Reset Connector Offsets #573
Conversation
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.
Hi Dugong42! 👋
Welcome, and thank you for opening your first PR in the repo!
Please wait for triaging by our maintainers.
Please take a look at our contributing guide.
@Dugong42 FYI: #710 (comment) The workaround that you implemented should not be needed after that pull request is merged Thank you for helping me during my analysis indirectly :) |
tested and
|
@fallen-up this shouldn't be a case, it's case insensitive for all the enums. Can you confirm please? |
@Dugong42 hi, can you take a look at the 2nd issue @fallen-up mentioned? And I guess we don't need the workaround for the KC anymore considering @yeikel's changes |
…reset-connector-offsets
use the proper return type for the client interface fix stopConnector override with new retry mechanism
c5e1edb
to
0d8ba54
Compare
@Haarolean yep, looks like my bad. register is insensitive |
@yeikel thanks for the proper fix! @Haarolean I've rolled back my workaround and taken the retry mechanic into account. I've tested different values for the It should be ready to merge :) |
@Dugong42 could you please refrain from force-pushing a PR branch that has been previously reviewed in the future? This marks multiple files as unreviewed without a clear diff even if there are none since the last review. |
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.
Thank you! (I can only comment as my approval does not count)
yep, this is a limitation to prevent random users LGTMing on PRs (yes, it's actually a thing) |
@Dugong42 thanks for your first contribution to kafbat UI! 🎉 |
finally managed to do a full test.
|
Is the challenge that the name is misleading? The original API also uses the "delete" terminology, while what it does is to "reset it". For the context of offset tracking delete and reset seem to be the same thing here |
let's go the other way around. |
What changes did you make? (Give an overview)
This brings a few features to the "Connector" pages (list and detail), related to Connector Offsets management (#183)
Added
Changes
Fixed
Misc
Given I'm working behind a corporate proxy which was a pain to configure, I added a few tweaks to improve the dev experience.
edit1 with screenshots
Is there anything you'd like reviewers to focus on?
VSCode applied some formatting changes. I hope that's not a bother to review.How Has This Been Tested? (put an "x" (case-sensitive!) next to an item)
Checklist (put an "x" (case-sensitive!) next to all the items, otherwise the build will fail)
A picture of a cute animal (not mandatory but encouraged)