Hi,
In Play 2.5 Akka Stream is the default stream processing library.
I don't know if it's a Play or an Akka Stream problem, I'm trying to
stream some messages with an Akka Stream Source from a Play controller :
def timeline(keyword: String) = Action {
val source = Source.tick(initialDelay = 0 second, interval = 1 second,
tick = keyword)
Ok.chunked(source)
}
When I call the action, it takes about 1 minute before the stream is
rendered in the browser. But when it's displayed, the 60/70 first keyword
appears in one shot, then the stream is working normally with 1 message by
second.
I've tried to define the source outside the action at the controller level
to avoid initialization problems, but a request always takes about1 minute
to display.
Did i miss something?
Thanks
--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ:
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.