Perhaps. I use a Slick 3 stream, but I suppose I could do a Source.unfold
or something instead.

On Wed, Apr 13, 2016 at 12:39 AM, Viktor Klang <viktor.kl...@gmail.com>
wrote:

> If your publisher is data-aware then it can insert dummies/fillers for
> missing data just fine?
>
> On Tue, Apr 12, 2016 at 7:53 PM, Richard Rodseth <rrods...@gmail.com>
> wrote:
>
>> Not a very well thought out question on my part :)
>> I guess I'm picturing something like two infinite streams A and B where
>> rather than ending, they'd keep emitting a dummy "NoValue" element. Sort of
>> like Option.getOrElse. A way to make a finite stream infinite.
>>
>> Then comparison (in a zipped stream) could report "A has element, B
>> doesn't, or vice versa, and comparison could stop when both had no value
>> (using takeWhile, for example). This doesn't address the question of two
>> data sets that *start* at different times.
>>
>> But I think I will just use mapAsync on the time stream, and grab chunks
>> of data from both sources for each time window, composing the two futures.
>>
>> On Tue, Apr 12, 2016 at 12:03 AM, Viktor Klang <viktor.kl...@gmail.com>
>> wrote:
>>
>>> What does keep going mean?
>>>
>>> On Mon, Apr 11, 2016 at 11:42 PM, Richard Rodseth <rrods...@gmail.com>
>>> wrote:
>>>
>>>> I need to compare two streams of timeseries data. I thought of doing
>>>> something with zip() but in the case where the data is missing in one
>>>> stream at the beginning or end, I'd like to keep going. Of course, I could
>>>> just make the base stream a time stream, and use non-streaming techniques
>>>> to fetch the data for a time window from each source, but I thought I'd
>>>> check if there were any clever alternatives!
>>>>
>>>> --
>>>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to akka-user@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/akka-user.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Cheers,
>>> √
>>>
>>> --
>>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>>> To post to this group, send email to akka-user@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/akka-user.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
>> To post to this group, send email to akka-user@googlegroups.com.
>> Visit this group at https://groups.google.com/group/akka-user.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Cheers,
> √
>
> --
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to