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

When trying to create a connector on Windows, we get "--from-file and --config cannot be used with input from stdin" #3

Open
gerardnico opened this issue Dec 7, 2017 · 0 comments

Comments

@gerardnico
Copy link

gerardnico commented Dec 7, 2017

Hallo,

First of all thanks for this utility.

I'm trying it out on Windows 7 and didn't succeed to create a connector.

I'm working with the DOS terminal.

Version:

kafka-connect.exe version
kafka-connect version 0.9.0
go-kafka/connect version 0.9.0

With the -f version, I get a stdin error:

kafka-connect.exe create -f source-quickstart-sqlite.json
kafka-connect: error: --from-file and --config cannot be used with input from stdin

With the --from-file flag, I get the same error:

kafka-connect.exe create --from-file source-quickstart-sqlite.json
kafka-connect: error: --from-file and --config cannot be used with input from stdin

With the stdin version, the utility try to open the /dev/stdin device that doesn't exist on Windows.

type source-quickstart-sqlite.json | kafka-connect.exe create
kafka-connect: error: open /dev/stdin: The system cannot find the path specified.

I have checked the doc and it seems that's the correct syntax.

Am I doing something wrong ?

Thanks
Nico

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

No branches or pull requests

1 participant