Skip to content

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

@gerardnico

Description

@gerardnico

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions