Correlation IDs in Scala using Monix
Adam Warski

This is really anti-FP solution relying on Monix mechanics. For me it proved to be unreliable when integrating with code that uses futures, like Slick. It’s def an interesting solution but imo better to just use ApplicativeAsk from cats-mtl and run in ReaderT[Task, Ctx, T]or something like that.