Skip to content
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

feat: spin up a connect worker embedded inside the KSQL JVM #3241

Merged
merged 2 commits into from
Aug 22, 2019

Conversation

agavra
Copy link
Contributor

@agavra agavra commented Aug 20, 2019

Description

Enables KSQL to start a Connect distributed worker embedded in the KSQL server. The configuration is specified in ksql.connect.worker.config, which behaves identically to a normal connect worker.

Testing done

Local testing and some minor unit test coverage

Reviewer checklist

  • Ensure docs are updated if necessary. (eg. if a user visible feature is being added or changed).
  • Ensure relevant issues are linked (description should include text like "Fixes #")

@agavra agavra requested a review from a team as a code owner August 20, 2019 23:07
Copy link
Contributor

@rodesai rodesai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

connect = connectDistributed.startConnect(workerProps);
} catch (final ConnectException e) {
if (e.getCause() instanceof IOException && e.getCause().getCause() instanceof BindException) {
LOG.warn("Cannot start a local connect instance because connect is running locally!", e);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@agavra agavra merged commit 4d7ef2a into confluentinc:master Aug 22, 2019
@agavra agavra deleted the connect_embedded branch August 22, 2019 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants