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

app: Stdin and stdout interface #410

Closed
matryer opened this issue Jul 21, 2014 · 2 comments
Closed

app: Stdin and stdout interface #410

matryer opened this issue Jul 21, 2014 · 2 comments

Comments

@matryer
Copy link
Contributor

matryer commented Jul 21, 2014

Would you guys be interested in some kind of tool (or tools) that use stdin and stdout to communicate with nsq?

It would enable people to do something like this:

mytool | to_nsq --topic="topic" --channel="channel" --delimiter="\n" --address="nsqaddr"

Suddenly, scripters would be able to use nsq without needing a client.

Similarly, you could have a subscriber that prints to stdout called from_nsq.

Mat

@matryer
Copy link
Contributor Author

matryer commented Jul 21, 2014

It would also enable testing capabilities too...

cat test-messages.json | to_nsq ...

@mreiferson
Copy link
Member

basically a dupe of #304

FWIW we already have the output side in nsq_tail

These are good ideas, let's continue the discussion in #304

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants