Samples
New to Akka? Start here: This sample is recommended for beginners and provides a foundational understanding of Akka. Start here before exploring other samples. |
Other samples are available that demonstrate important patterns and abstractions. These can be downloaded as zip files. Please refer to the README
file in each zip for setup and usage instructions.
Sample | Level |
---|---|
Intermediate |
|
Intermediate |
|
Build a user registration service implemented as a Choreography Saga |
Advanced |
Maven archetype
To create the build structure of a new service you can use the Maven archetype. From a command window, in the parent directory of the new service, run the following:
- Linux or macOS
-
mvn archetype:generate \ -DarchetypeGroupId=io.akka \ -DarchetypeArtifactId=akka-javasdk-archetype \ -DarchetypeVersion=3.0.0-M11
- Windows 10+
-
mvn archetype:generate ^ -DarchetypeGroupId=io.akka ^ -DarchetypeArtifactId=akka-javasdk-archetype ^ -DarchetypeVersion=3.0.0-M11