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

cannot pipe, due to --input read options #331

Closed
chris-aeviator opened this issue Jan 30, 2023 · 2 comments
Closed

cannot pipe, due to --input read options #331

chris-aeviator opened this issue Jan 30, 2023 · 2 comments

Comments

@chris-aeviator
Copy link

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
create a text file

my first message
my second message

Pipe the data to plumber as seen in docs

cat test-data.txt | plumber write kafka --address kafka:9092 --topics topic

Expected behavior
plumber writes two messages to kafka

Actual behavior
FATA[0000] unable to complete command: unable to validate read options: either --input or --input-file or must be specified

when using --input-file test-data.txt only one message is written

Screenshots

CLI (please complete the following information):

  • OS: arch
  • Version v1.14.3-b53811e

Additional context
Add any other context about the problem here.

@blinktag
Copy link
Member

Thanks for the report @chris-aeviator, we'll get a fix out shortly

@blinktag
Copy link
Member

blinktag commented Feb 6, 2023

@chris-aeviator The issue is fixed now in https://github.com/batchcorp/plumber/releases/tag/v2.0.0

@blinktag blinktag closed this as completed Feb 6, 2023
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

2 participants