bryce-anderson / finatra-activator-thrift-seed

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:Apache License 2.0


Languages

Language:Scala 73.8%Language:HTML 21.6%Language:Thrift 4.6%