-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Feature : Stop Connectors and Reset Connector Offsets #573
base: main
Are you sure you want to change the base?
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.
I fixed the data-refresh after connectors state changes (see description) |
There seems to be a delay between the Connect API response to the Since the |
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 backend looks good! Would be great to have some new tests as well
api/src/main/java/io/kafbat/ui/controller/KafkaConnectController.java
Outdated
Show resolved
Hide resolved
I've added a couple of tests for the reset connectors feature. I've had to update the images used in the tests to confluent The image upgrade introduced a bug in the tests because some kafka connect errors that were previously processed asynchronously are now rising up to the Specifically it now randomly produces HTTP 500 errors because Kafka Connect often falls into the "rebalancing" state when we create/delete connectors in a row. My workaround is to optimistically ignore the connector creation error and then check for its existence. |
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)