Finatra examples are built in different ways depending on the branch you are in:
Run sbt from the top-level Finatra directory, e.g.
$ cd ../../
$ sbt streamingExample/run
- Then browse the twitter-server admin interface: http://localhost:9990/admin
- Or build and run a deployable jar:
$ sbt streamingExample/assembly
$ java -jar examples/streaming-example/target/scala-2.11/finatra-benchmark-server-assembly-2.x.x-SNAPSHOT.jar -http.port=:8888 -admin.port=:9990
If you're in a tagged release branch (e.g. v2.1.0)
Run sbt from this project's directory, e.g.
$ sbt run
- Then browse to the twitter-server admin interface: http://localhost:9990/admin Or build and run a deployable jar:
$ sbt assembly
$ java -jar target/scala-2.11/streaming-example-assembly-2.1.0.jar -http.port=:8888 -admin.port=:9990