/WarO_Java_Pekko

example of actors in Apache Pekko

Primary LanguageJavaApache License 2.0Apache-2.0

WarO_Java_Pekko

  • example of actors in Apache Pekko as a code exercise

  • this project uses:

    • Apache Pekko actor framework
    • Java 10 var
    • Java 15 (second preview) record
    • Java 15 (preview) sealed
    • Spring's Java configuration is used to configure players

To Build:

  • tested with Java 21
  • Gradle wrapper is 8.7

useful commands:

  • ./gradlew clean test
    • on Windows, use gradlew.bat
  • ./gradlew run
  • ./gradlew build

See test output in ~/build/reports/tests/index.html

To Run:

  • configure src/main/java/org/peidevs/waro/config/Config.java
  • ./run.sh
    • edit build.gradle to use Akka or a simple console app (for trouble-shooting)

Rules:

Rules are here.