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

Chunked Tweet not handled #6

Open
ametrocavich opened this issue Jun 28, 2016 · 1 comment
Open

Chunked Tweet not handled #6

ametrocavich opened this issue Jun 28, 2016 · 1 comment

Comments

@ametrocavich
Copy link

Many tweets will be sent in more than one chunk, and currently if a tweet is not in a single chunk, it will be "bad json" and will be dropped.
Currently, there seems to be no way to resolve this problem, aside from stitching the chunks together until valid JSON is acheived ( this relies on there not ever actually being bad json )

@ametrocavich
Copy link
Author

ametrocavich commented Jun 29, 2016

The only solution to this problem seems to be a custom unmarshaling technique that involves creating a buffer between the message chunks and the tweet unmarshaler. I have tested this and it work, but is no substitute for a spray update to support messagechunk streaming.

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

1 participant