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

Stream support #196

Open
sonnyp opened this issue Oct 21, 2013 · 5 comments
Open

Stream support #196

sonnyp opened this issue Oct 21, 2013 · 5 comments

Comments

@sonnyp
Copy link

sonnyp commented Oct 21, 2013

Would be nice if riak-js had first class support for Stream (http://nodejs.org/api/stream.html)

Couldn't find anything in documentation.

@ricardobeat
Copy link

http://riakjs.com/#streaming_keys

Should emit 'data' instead of 'keys' to be pipeable, but it's there.

@sideshowcoder
Copy link
Contributor

Would be nice to support streaming for data as well, as far as I can see it works for mapreduce and getAll (which is a mapreduce) but not for getting data objects by default. Would be nice so...

@sonnyp
Copy link
Author

sonnyp commented Oct 30, 2013

Yes I meant for data/value.

@sideshowcoder
Copy link
Contributor

Looking through the http_client it should be possible to stream the data since underneath the data is already streamed to the client, the thing missing would be to include a streaming parser for the different data types, like json, which are returned in parsed form.

@sonnyp
Copy link
Author

sonnyp commented Jun 3, 2014

@sideshowcoder I think a raw stream is enough. If you need data specific streaming you can pipe the http response through a parser.

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

3 participants