Question: Create 3 Akka Actor classes call Producer, Supervisor and Worker. The Producer will generate 1000 random long integer numbers between 10000 and 100000. The Producer

Create 3 Akka Actor classes call "Producer", "Supervisor" and "Worker". The "Producer" will generate 1000 random long integer numbers between 10000 and 100000. The "Producer" will send each number as a message to "Supervisor". At start-up, the Supervisor will create 10 "Worker" Actors. When the "Supervisor" receives a number from the "Producer", it will use the API forward() to forward that message to one of the "Worker" actors, in a round-robin fashion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
