-
-
Couldn't load subscription status.
- Fork 196
KC: Stop Connectors and Reset Connector Offsets #573
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
Merged
Haarolean merged 41 commits into kafbat:main from Dugong42:feature/reset-connector-offsets Jan 14, 2025
Merged
Changes from 40 commits
Commits
Show all changes
41 commits Select commit Hold shift + click to select a range
fd5fedf allow development behind proxy
Dugong42 70517a0 Add dropdown options to pause and stop connectors
Dugong42 6ce7078 format kafkbat-ui openapi definition
Dugong42 503a2a1 Add a dropdown option to reset the offsets of stopped connectors
Dugong42 b819013 Disable the "Remove Connector" button if the action is not allowed fo…
Dugong42 26e075d Disable reset offsets button when connector is not stopped
Dugong42 d9d269b Add frontend tests of connector reset
Dugong42 971c2c9 Add frontend tests for the reset connector offsets button
Dugong42 2c8f054 Merge branch 'main' into feature/reset-connector-offsets
Dugong42 c9d8aad Fix code formatting and typos
Dugong42 a36bc20 Fix the confirmation message
Dugong42 b21d04e fix missing resetConnectorOffsets mock in frontend unit tests
Dugong42 0c3495d Revert "format kafkbat-ui openapi definition"
Dugong42 193daa0 Revert formatting changes in "Add a dropdown option to reset the offs…
Dugong42 05df53e Revert formatting changes in "Fix code formatting and typos"
Dugong42 7b289c3 revert formatting changes to the controller
Dugong42 0d695cd fix frontend tests
Dugong42 76ae0f1 fix prettier linter checks
Dugong42 d95b56f Improve refresh behaviour on connector actions
Dugong42 f7345da Merge branch 'main' into feature/reset-connector-offsets
Dugong42 cffa239 refacto using static imports for resetConnectorOffsets actions
Dugong42 951b8c3 Merge remote-tracking branch 'origin/main' into feature/reset-connect…
Dugong42 e8e4347 tests: reset stopped connector
Dugong42 67599c1 kafka connect API get offsets
Dugong42 2aebcf6 FIX: Type casting errors
Dugong42 e52d6cc Merge branch 'fix/type-casting-errors' into feature/reset-connector-o…
Dugong42 f7f4591 Test bad request when resetting running connector
Dugong42 8c64835 Throw controlled BadRequest and NotFound errors for resetConnectorOff…
Dugong42 cf7cbdd Use Confluent 7.7 and fix tests for resetConnectorOffsets
Dugong42 8f5915c typo in test
Dugong42 62598e4 retry on kafka connect test setup failure
Dugong42 793c0a5 Handle error 500 by repeating the kafka connect test setUp
Dugong42 4a499e4 Optimistic creation of test connectors. Check existence and ignore cr…
Dugong42 035f2b3 cleanup
Dugong42 2b23258 Merge branch 'main' into feature/reset-connector-offsets
Dugong42 cb06d48 Merge commit 'a8811d1be3a0db2b02afa744c404ac961572b0d1' into feature/…
Dugong42 0d8ba54 adapt to connect retry mechanism
Dugong42 e802bf1 rollback test workaround leftovers
Dugong42 0e1bdb9 rollback forced typing leftovers
Dugong42 fbb6ddd fix indent
Dugong42 513e3f9 Merge branch 'main' into feature/reset-connector-offsets
Haarolean File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| -Djava.net.useSystemProxies=true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions 13 api/src/main/java/io/kafbat/ui/exception/ConnectorOffsetsResetException.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| package io.kafbat.ui.exception; | ||
| | ||
| public class ConnectorOffsetsResetException extends CustomBaseException { | ||
| | ||
| public ConnectorOffsetsResetException(String message) { | ||
| super(message); | ||
| } | ||
| | ||
| @Override | ||
| public ErrorCode getErrorCode() { | ||
| return ErrorCode.CONNECTOR_OFFSETS_RESET_ERROR; | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.