Hello Lately I have been reading about a possibility of using Apache Kafka as journal/snapshot store for akka-persistence.
I am aware of the plugin created by Martin Krasser: https://github.com/krasserm/akka-persistence-kafka/ and also I read other topic about Kafka as journal https://groups.google.com/forum/#!searchin/akka-user/kakfka/akka-user/iIHmvC6bVrI/zeZJtW0_6FwJ. In both sources I linked two ideas were presented: 1. Set log retention to 7 days, take snapshots every 3 days (example values) 2. Set log retention to unlimited. Here is the first question: in first case wouldn't it mean that persistent views would receive skewed view of the PersistentActor state (only events from 7 days) - is it really viable solution? As far as I know PersistentView can only receive events - it can't receive snapshots from corresponding PersistentActor (which is good in general case). Second question (more directed to Martin): in the thread I linked you wrote: I don't go into Kafka partitioning details here but it is possible to > implement the journal driver in a way that both a single persistent actor's > data are partitioned *and* kept in order > I am very interested in this idea. AFAIK it is not yet implemented in current plugin but I was wondering if you could share high level idea how would you achieve that (one persistent actor, multiple partitions, ordering ensured)? -- >>>>>>>>>> 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.
