sderosiaux / hystrix-play

Playground for using Hystrix together with the playframework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hystrix-play

Playground for using Hystrix together with the playframework

Using Hystrix Commands with Plays asynchronous actions

There is an implicit method future available on any HystrixCommand, that will return a Scala Future rather then what Java calls a Future. This is implemented by HystrixCommandWithScalaFuture

You can see it in Action in the Application controller.

Providing a metrics stream, consumable by the hystrix-dashboard

This is a replacement for the hystrix-metrics-event-stream module. This module is only available as a Servlet/WAR, which is not suitable for Play.

There is a HystrixSupport Controller, that does the same as the original Servlet and allows for this play application to be monitored by the Hystrix Dashboard

About

Playground for using Hystrix together with the playframework

License:Apache License 2.0


Languages

Language:Scala 94.1%Language:HTML 5.9%