Skip to content

Instantly share code, notes, and snippets.

View waichee's full-sized avatar

wai chee yau waichee

View GitHub Profile
@mishriky
mishriky / ResilientClientSamples.scala
Created February 7, 2017 18:26
Samples for Finagle Client Configuration
/**
* This is not meant to cover ALL possible ways of creating service clients; instead it focuses on the simplest way to
* do so, while maintaining the capability to customize the clients based on service level agreements/expectations
*
* @note Most of the filters can be applied to the HTTP client as well but have been omitted from the sample code to improve
* readability
*/
trait ClientSamples extends LazyLogging {
private[this] lazy val config = ConfigFactory.load()