I found this article with a possible solution: https://blog.softwaremill.com/akka-streams-pitfalls-to-avoid-part-2-f93e60746c58
Item 6 in the article says that applying a supervision strategy using withAttributes should be done at the END of the stream definition, unless you are changing async boundaries. If I'm understanding this correctly, I should move the withAttributes() call AFTER the map call containing the foldLeft and then do I need an additional withAttributes() AFTER the mapAsync? I've also seen code that adds a supervision strategy to the materializer. If I add it to the materializer, do I also need to add it to the stages using withAttributes or do I just need it in one or the other? Is one approach preferred to the other? 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.
