Skip to content

Instantly share code, notes, and snippets.

@wjlow
Created May 28, 2018 06:08
Show Gist options
  • Save wjlow/b52b8595dc79914b9c40ba9033298ea1 to your computer and use it in GitHub Desktop.
Save wjlow/b52b8595dc79914b9c40ba9033298ea1 to your computer and use it in GitHub Desktop.
// Application wiring
val httpSink = new HttpSink(HttpService(s"${config.apiHost}/v1/listings"))
val jsonSink = new JsonSink[Seq[FullListing]](httpSink)
val listingTransformer = // ...
new ListingProcessor(listingTransformer, jsonSink)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment