-
Notifications
You must be signed in to change notification settings - Fork 30
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
unhandled kinesis error event #4
Comments
I'm sorry, I'm not able to reproduce this. Can you please post some code that reproduces this? |
I built a test case, see Other than needing to The only remaining thought is to consider detecting the type of data being passed to Thanks again, @mhart, for looking into this 😄 |
base64 encoding/decoding is built into node.js :-) No need for third party libraries! new Buffer('hello', 'utf8').toString('base64')
'aGVsbG8=' |
Also, streams use Buffers by default - you could consider using the |
Re: base64 built in, sweet! 👍 Re: |
What do you think about auto base64 encoding data passed into |
If you're using The write stream takes Buffers - but again, you can construct these however you like (eg, |
(perhaps you're confusing Buffers with base64? Buffers don't have to use base64 - they're just a storage for arbitrary binary data) |
Makes sense. n00b to streams. I'm guessing it was a side effect of a lower layer that allowed base64 to work. |
Upgrading to
kinesis@0.2.2
allows it to run onnode@0.11.9
; however, after a few minutes of pushing records to kinesis (3 to 30/second @ ~120bytes per push), I'm getting the following:Issue occurs under
node@0.11.9
andnode@0.10.25
Thoughts?
The text was updated successfully, but these errors were encountered: