Create a reproducer?

-- 
Cheers,
√

On Aug 6, 2016 1:18 AM, "tigerfoot" <gzol...@gmail.com> wrote:

> I should add that when it fails it just locks the stream--nothing further
> processed.  No errors or other output is produced.
>
> On Friday, August 5, 2016 at 6:11:34 PM UTC-5, tigerfoot wrote:
>>
>> I'm having a nasty issue I hope someone can help me with.
>>
>> I have some stream code like this:
>>
>>       val contentAssembly = Flow[CRec].map { crec =>
>>         println("HERE!")
>>         val x = expression.render(crec.value).
>> asInstanceOf[Message[OutputWrapper]]
>>         println("X is "+x)
>>         (crec, x)
>>       }
>>       val sendIt = Flow[(CRec, Message[OutputWrapper])].map { case (crec,
>> output) => println("THERE!"); sendAndNotifyFn(output); crec }
>>
>>       src ~> filter ~> contentAssembly ~> sendIt ~> commitQ ~>
>> Sink.ignore
>>              filter ~> commitQ ~> Sink.ignore
>>
>>
>> The two interesting stages are contentAssembly and sendIt.  About 1/2 the
>> time this works just fine.
>> When it works, I see output from the "HERE!" message, the "X" message,
>> and the "THERE" message.
>>
>> When it doesn't work I see HERE! and X but not the THERE.  As you can
>> see, there nothing in my code that happens between the "X" message in
>> contentAssembly and the THERE message in sendIt.
>>
>> My working theory is that somehow Akka Streams is sometimes losing the
>> supply/demand handshake between these two stages.
>>
>> I first noticed this on 2.4.7 then moved to 2.4.9-RC2 hoping someone had
>> found a bug, but no luck.
>>
>> What can I do to dig deeper and try to figure out what's going on between
>> contentAssembly and sendIt stages?
>>
>> Thanks,
>> Greg
>>
>> --
> >>>>>>>>>> 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