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

file_to_nsq: a utility for STDIN or file to NSQ #304

Closed
elubow opened this issue Feb 7, 2014 · 3 comments
Closed

file_to_nsq: a utility for STDIN or file to NSQ #304

elubow opened this issue Feb 7, 2014 · 3 comments

Comments

@elubow
Copy link
Contributor

elubow commented Feb 7, 2014

There are utilities that pull data from NSQ and write it to disk or nsq_to_http, but there is not a utility to take a file or an input stream and pipe it into NSQ. This should be added and probably work similarly to grep where it can either work on a file or work from STDIN.

@davemarchevsky
Copy link

We've been using https://github.com/bitly/file2http for this purpose, you might be able to repurpose some of that code.

@mreiferson
Copy link
Member

there's also this: https://github.com/datastream/nsqtools/blob/master/file_to_nsq/main.go but needs a bit of refactoring

@mreiferson
Copy link
Member

closed via #416

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

3 participants