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

KAFKA-3742: (FIX) Can't run bin/connect-*.sh with -daemon flag #1717

Closed

Conversation

1ambda
Copy link
Member

@1ambda 1ambda commented Aug 10, 2016

Problem

Current connect scripts (connect-distributed.sh, connect-standalone.sh) do not support -daemon flag even if users specify the flag
since kafka-run-class.sh requires that the-daemon flag should precede other arguments (e.g. class name)

Solution

Do the same thing like in kafka-server-start.sh

  • Parse a command
  • Add -daemon to $EXTRA_ARGS if exists

@1ambda 1ambda changed the title KAFKA-3742: Can't run bin/connect-*.sh with -daemon flag KAFKA-3742: (FIX) Can't run bin/connect-*.sh with -daemon flag Aug 10, 2016
@gwenshap
Copy link
Contributor

LGTM. Thanks for fixing this!
FYI: @ewencp

@asfgit asfgit closed this in dca63fc Aug 26, 2016
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.

2 participants