Skip to content
This repository has been archived by the owner. It is now read-only.

twitter-archive/finatra-activator-thrift-seed

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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