[elixir-core:6239] GenStage and Tweets. 1 producer, 3 consumers but only one consumer receives the tweets

2016-08-23 Thread Alvise Susmel
Hi guys, I'm playing a bit with GenStage, after reading the blog post on elixir with a full case description, and watching the youtube Jose's speech. _ | | | *Producer*| <--> consumer 1 | tweets stream |<--> consumer 2

[elixir-core:6223] Elixir way to handle errors in pipes

2016-08-15 Thread Alvise Susmel
Hi, I've started thinking about this, as maybe many of you, when I needed to stop the pipe when an error is returned. I've seen that there are different conversation about this, but I haven't clear what is the *elixir way* to handle errors using pipes. I see two ways for achieving the same