Skip to content
This repository has been archived by the owner on Mar 11, 2023. It is now read-only.

Error handling for "external" errors #142

Open
nilsga opened this issue Oct 16, 2017 · 1 comment
Open

Error handling for "external" errors #142

nilsga opened this issue Oct 16, 2017 · 1 comment

Comments

@nilsga
Copy link

nilsga commented Oct 16, 2017

When the tweet processing function encounters a non internal error, such as a database error, the stream halts without any information given. This is probably due to the default error handling strategy of Akka Streams, which stops the entire stream when an error is encountered, as described at https://doc.akka.io/docs/akka/current/scala/stream/stream-error.html. It should be possible to configure twitter4s with a different error handling strategy, or clarify if this is outside the scope of the library, and should be handled by dispatching the tweets to a different system/stream.

@DanielaSfregola
Copy link
Owner

This would be a great improvement: we should change the twitter streaming so that it can survive errors unrelated to the streaming itself

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

No branches or pull requests

2 participants