Skip to Content
Scala Reactive Programming
book

Scala Reactive Programming

by Rambabu Posa
February 2018
Intermediate to advanced
552 pages
13h 46m
English
Packt Publishing
Content preview from Scala Reactive Programming

Akka Streams HelloWorld example

In this section, we will develop our first Akka Streams simple and old-fashioned HelloWorld application. In this example, we will use or experiment with only two of the Akka Streams API components, as shown here:

Perform the following steps to experiment with this example:

  1. Create a Scala SBT project in your favorite IDE:
      Project Name: akka-streams-scala-helloworld-app 
  1. Add the akka-streams dependency in the build.sbt file:

build.sbt:

       name := "akka-streams-scala-helloworld-app"
       version := "1.0.0"
       scalaVersion := "2.12.2"
       libraryDependencies ++= Seq( 
         "com.typesafe.akka" %% "akka-stream" % "2.5.9"
       ) 

Here, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Scala Programming Projects

Scala Programming Projects

Mikael Valot, Nicolas Jorand
Learning Scala

Learning Scala

Jason Swartz
Functional Programming in Scala

Functional Programming in Scala

Runar Bjarnason, Paul Chiusano

Publisher Resources

ISBN: 9781787288645Supplemental Content