https://akka.io/docs/
Spring Boot Meets Akka
Reading something about Java and the Actor model will sooner or later lead to Akka. There is a great documentation for the Scala and Java API to get started with the Akka toolkit. This application is an experiment to create a small example of the Java API in combination with the Spring Framework.
The application should spawn some actors to asynchronously write several messages in a database and shut down after all messages are processed.
Spring Boot is used to simplify the test application configuration, including packaging and startup/shutdown behaviour. See the repository for class imports and more code comments.
Sourcecode
The full application can be found at the akkaflow repository.
No comments:
Post a Comment