To understand the Akka concepts that are the basis for this example, see Development Process in the documentation.
This project contains the skeleton to create an Akka service. To understand more about these components, see Developing services. Examples can be found here.
Use Maven to build your project:
mvn compileWhen running an Akka service locally.
To start your service locally, run:
mvn compile exec:javaThis command will start your Akka service. With your Akka service running, the endpoint it's available at:
curl http://localhost:9000/helloYou can use the Akka Console to create a project and see the status of your service.
Build container image:
mvn clean install -DskipTestsInstall the akka CLI as documented in Install Akka CLI.
Deploy the service using the image tag from above mvn install:
akka service deploy AkkActorExample AkkActorExample:tag-name --pushRefer to Deploy and manage services for more information.