I have an actorsystem which has 3 actors and are listed below
- RMQreaderActor - This is the actor which reads the messages from the RMQ and tells the below two actors to convert the message and process it
- ConverterActor
- ProcessorActor
My requirement is to cluster the actorsystem in 4 nodes but I do not want the RMQreaderactor in all the nodes to read the messages from the queue. Only one node should read the message and tell the other actors to process.
Note: If I make RMQreaderactor of all the nodes to read the messages from the queue then it is causing a duplicate read(as I am not issuing the Ack as soon as I read)
Could you please help me out with my requirement