/finatra-activator-thrift-seed

Typesafe activator template for constructing a Finatra Thrift server application: https://twitter.github.io/finatra/user-guide/ —

Primary LanguageScalaApache License 2.0Apache-2.0

Finatra Thrift Server Lightbend Activator Template

Build Status

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

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