I'm using twitter util futures in my project.
I want to add logging to trace a request through the components using MDC.
I couldn't find a good way to add that for twitter futures as there is no execution context that runs the callbacks. I couldn't find a way or any library implementation to refer to.
What is the better way to do this?
Thanks, Nag
If you're using Twitter Futures because you're using Finagle or one of its sub-projects then that provides a Context for making data available across Futures used in a transaction.