Hi Arnaud, sorry for being late to the party: it sounds like you want to access state which shall be consistent with what the system knew before it got restarted. This means that what you want is exactly what an EventsourcedProcessor would give you, by which I want to say that the actor which decides on which topics to create and when to shut them down should be persistent. That would solve the problem, contrary to a simply query API which would not tell you whether or not that ID was currently active or not (unless you again make it fully transactional).
This does not mean that such a query API would not be useful, I just think that this particular use-case is better served with different tools. Regards, Roland 22 feb 2014 kl. 20:33 skrev Arnaud Gourlay <[email protected]>: > Hi, > > I have a question regarding the akka-persistence recovery process. > > I am building some kind of HTTP persistent message bus that uses > akka-persistence to save events occurring on a "topic". > Every topic is an EventsourcedProcessor and the recovery after a crash or > restart works fine. > FYI you can find my project here https://github.com/agourlay/omnibus > > Now my problem: > I want to know when I manually restart my application, after a maintenance > for instance, which topics were active before shutdown and possess some state > in the Journal. > > I was expecting to find some kind of API on the Journal to retrieve all > processors ID existing in the Journal so I could manually re-create those > actors in order to trigger recovery. > > Any idea how I could achieve that? I feel like I am missing something there. > > Thanks in advance. > > Arnaud > > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ > >>>>>>>>>> Check the FAQ: http://akka.io/faq/ > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > --- > You received this message because you are subscribed to the Google Groups > "Akka User List" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/akka-user. > For more options, visit https://groups.google.com/groups/opt_out. Dr. Roland Kuhn Akka Tech Lead Typesafe – Reactive apps on the JVM. twitter: @rolandkuhn -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: http://akka.io/faq/ >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user --- You received this message because you are subscribed to the Google Groups "Akka User List" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/groups/opt_out.
