Application intégrant Spring Boot et Akka :
-
Timer in our Poller Actor emits a tick each three seconds
-
Poller begins ticking when created
-
On each tick, sends a message to the PriceRequestor Actor containing the name of the crypto currency
-
PriceRequestor Actor makes a REST API call using the Coinbase service
-
A message is sent to the Printer Actor
-
Printer Actor subscribes to the Mono response and passes in a lambda to print out the formatted information after the REST API call complete
-
Process repeats every three seconds while the Poller Actor is active