Repository navigation
KAFKA-13731: Allow standalone workers to be started without providing any connector configurations - #11890
Merged
Conversation
Contributor
Author
|
@showuon do you have time for this quick change? |
Contributor
Author
|
Thanks Mickael! |
honshu
added a commit
to confluentinc/kafka
that referenced
this pull request
Nov 30, 2022
* apache-kafka/trunk: (31 commits) KAFKA-14413: Separate MirrorMaker configurations for each connector (apache#12899) MINOR: Fix config documentation formatting (apache#12921) KAFKA-13731: Allow standalone workers to be started without providing any connector configurations (apache#11890) MINOR: Fix docs in security.html (apache#12851) MINOR: Remove config/kraft/README.md from rat exclusion list (apache#12923) MINOR: Update Gradle to 7.6 (apache#12918) KAFKA-14414: Fix request/response header size calculation (apache#12917) KAFKA-14339 : Do not perform producerCommit on serializationError when trying offsetWriter flush (apache#12920) KAFKA-14367; Add `JoinGroup` to the new `GroupCoordinator` interface (apache#12845) MINOR: buildoutput.log should be under the `build` directory (apache#12919) ...
guozhangwang
pushed a commit
to guozhangwang/kafka
that referenced
this pull request
Jan 25, 2023
… any connector configurations (apache#11890) Reviewers: Yash Mayya <[email protected]>, Mickael Maison <[email protected]>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Jira
(Copied from Jira):
In order to start a standalone Connect worker, it's currently necessary to provide at least two command-line arguments:
This may be due to the now-inaccurate belief that standalone workers do not support the Connect REST API, which can be used to create/reconfigure/delete connectors at runtime. However, standalone mode does in fact expose the Connect REST API, and since that allows for connectors to be created after bringing up the worker, it is unnecessary to force users to supply at least one config for a connector to be run on the worker at startup time.
These changes remove that limitation from standalone mode, and update the Connect docs to be explicit about support for the REST API when running standalone.
No tests are added as the functional changes are trivial. I did perform an extremely rudimentary sanity check to ensure that, with these changes, a standalone worker could be brought up with just a worker config file and no connector configs, and a file sink connector could be created on that worker via the REST API after it finished startup.
Committer Checklist (excluded from commit message)