There was discusion about this also for the mongo plugin: https://github.com/ironfish/akka-persistence-mongo/issues/88
michael On Monday, 27 April 2015 18:12:50 UTC+2, Magnus Andersson wrote: > > Hi Konrad > > I was the one who asked that question. :) > > As you say there is a possibility to hook up persistent views to a tool > you build. Akka analytics and spark sounds intetesting as suggested in the > github thread. > > Anyhow, it is an important piece of the tooling puzzle to be able to view > journaled data "out of band". If anyone else have experience to share I > would love to hear about it. > > How did you solve it and how did it tun out. > Den 27 apr 2015 1:54 em skrev "Konrad Malawski" <[email protected] > <javascript:>>: > >> Hi Magnus, >> the answer to this question is very journal dependent. >> >> It's up to the Journal to pick how to serialize your messages. >> If a journal picks to serialize in human-readable formats you'd get that. >> For example in a database like mongo you could just pick a JSON >> serializer to put it into the document, in databases with strict schema >> it's not as easy but certainly doable - perhaps as additional human >> readable format stored (as discussed below). >> >> So in one sentence: it's up to persistence plugins to support this use >> case, we don't directly control how and where-to the serialization is >> performed by the plugins. The plugin knows it's datastore and could do >> human-readable things. >> >> On the other hand, you can use PersistentViews to use the same infra to >> deserializa and emit a stream of human readable projectsions if you need to. >> >> There was an interesting discussion on this recently on the cassandra >> plugin repo: >> https://github.com/krasserm/akka-persistence-cassandra/issues/50 >> >> On Sat, Apr 25, 2015 at 10:16 PM, Magnus Andersson < >> [email protected] <javascript:>> wrote: >> >>> Hi >>> >>> I'm looking for advice/experiences for browsing and maintaining the >>> journals akka-persistence writes. The events are serialized as binary blobs >>> of whatever serialization mechanism akka is configured to use. The journals >>> are not human readable (it is possible to with some detective work, but >>> still not easy). >>> >>> I gave a custom JSON serializer with Pickling a try. It became a clunky >>> implementation so I abandoned it, but kind of worked so that I could browse >>> data. Of course I could build an application specific tool myself that can >>> show and query for our events, but I'm wondering how other projects have >>> tackled this? >>> >>> I'm even starting to consider hacking at a journal plugin that store >>> events serialized as JSON in a clob+type column instead of a blob. >>> >>> /Magnus >>> >>> -- >>> >>>>>>>>>> Read the docs: http://akka.io/docs/ >>> >>>>>>>>>> Check the FAQ: >>> http://doc.akka.io/docs/akka/current/additional/faq.html >>> >>>>>>>>>> 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] <javascript:>. >>> To post to this group, send email to [email protected] >>> <javascript:>. >>> Visit this group at http://groups.google.com/group/akka-user. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> >> -- >> Cheers, >> Konrad 'ktoso' Malawski >> Akka <http://akka.io/> @ Typesafe <http://typesafe.com/> >> >> -- >> >>>>>>>>>> Read the docs: http://akka.io/docs/ >> >>>>>>>>>> Check the FAQ: >> http://doc.akka.io/docs/akka/current/additional/faq.html >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "Akka User List" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/akka-user/enEQ9tde70Y/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/akka-user. >> For more options, visit https://groups.google.com/d/optout. >> > -- >>>>>>>>>> Read the docs: http://akka.io/docs/ >>>>>>>>>> Check the FAQ: >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html >>>>>>>>>> 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/d/optout.
