Skip to content
This repository has been archived by the owner on Jun 18, 2019. It is now read-only.

twitter-archive/finatra-activator-thrift-seed

Repository files navigation

Finatra Thrift Server Lightbend Activator Template

Build Status Project status

A minimal Activator seed template for creating a Finatra Thrift server application.

Note:

Activator has been deprecated by Lightbend with a scheduled EOL at the end of 2017.

Quick Start

A simple client implementation

val client: PingService[Future] = ThriftMux.client
    .withTracer(NullTracer)
    .withStatsReceiver(NullStatsReceiver)
    .newIface[PingService.FutureIface]("localhost:9999")


client.ping().onSuccess { response =>
  println(s"response: $response")
}

Running

Run the server using sbt

sbt run

License

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0