In the Akka Streams API, there are mainly the following three main APIs. They are also known as Components of the Akka Streams API. We can also treat them as different processing stages in Akka Streams:
- Source
- Sink
- Flow
The Akka Streams API has two sets of DSL APIs. One set for Java-defined at akka.stream.javadsl, and another for Scala-defined at akka.stream.scaladsl.
All the preceding three Akka Streams API components are defined in the akka.stream.scaladsl package.
Apart from the preceding three major components, the Akka Streams API has one imported API, ActorMaterializer.
It also uses the Akka Actor module's ActorSystem. In this section, we will first discuss the three APIs—Source, Sink, and Flow, and will then discuss the rest of the APIs in the coming sections.