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

Source for use in stream flow #168

Open
tbje opened this issue Oct 24, 2017 · 5 comments
Open

Source for use in stream flow #168

tbje opened this issue Oct 24, 2017 · 5 comments

Comments

@tbje
Copy link

tbje commented Oct 24, 2017

Hi, I might have missed something fundamental, but is it possible to get a Akka Stream Source instead of the client? The use case is to do some stream processing server side and then ship them to the front end using akka-http server sent events (SSE) where you provide need to provide a Source.

@DanielaSfregola
Copy link
Owner

Hi @tbje,
unfortunately, it is not possible. This was done on purpose, to hide lots and lots implementation details that are not actually needed in order to use the Twitter Streaming API.

All you can do is define what processing you'd like to do for a specific type of message.

Cheers,
D.

@tbje
Copy link
Author

tbje commented Oct 24, 2017

Thanks for the clarification @DanielaSfregola 👍

@tbje
Copy link
Author

tbje commented Oct 24, 2017

For anyone else wanting something similar: this repo helped me understand howto create a source and hooking it up with the client: https://github.com/calvinlfer/Akka-Streams-custom-stream-processing-examples

@DanielaSfregola DanielaSfregola changed the title Source for use in stream flow? Source for use in stream flow Nov 8, 2017
@DanielaSfregola
Copy link
Owner

Reopening as it would be good to have, so we can do it at the next iteration since we are already introducing breaking changes.

@DanielaSfregola DanielaSfregola added this to the 6.0 milestone Nov 8, 2017
@niij
Copy link

niij commented Nov 9, 2017

Thanks @tbje I ended up getting it wired up used instructions from here: https://doc.akka.io/docs/akka-stream-and-http-experimental/1.0-RC3/scala/stream-integrations.html

Looking forward to having Streams properly working in 6.0. Thanks for the helpful project @DanielaSfregola

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

3 participants