hystrix-play

Playground for using Hystrix together with the playframework

APACHE-2.0 License

Stars
22

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