You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps it's because I'm new to Akka Persistence, but I'm finding it very difficult to track the zillions of seemingly unrelated properties and where to put them. Some start with akka.contrib.persistence.mongodb, other akka-contrib-mongodb-persistence, and yet another akka.persistence. The documentation, unfortunately, doesn't make it any easier. For example, I wanted to disable snapshots, but the doc only shows how to do it for multiple configurations, which I assume has to be less common than disabling it globally for developmental purposes.
I propose that the doc clearly lays out the properties in a hierarchical manner instead of spreading them all over the place. For a seasoned Akka dev, this may not be much of an issue, but for beginners, this is beyond frustrating. The suggested format is as below:
application.conf
akka {
contrib {
persistence.mongodb {
mongo {
mongouri # this is the connection URI
journal-collection # this is the collection name where the events are stored
}
}
}
}
There was something like this (the default configuration) in the docs as of the 0.x version. I got rid of it for the 1.x version. I think it could be reintroduced - broken up by section with accompanying docs, no problem.
Perhaps it's because I'm new to Akka Persistence, but I'm finding it very difficult to track the zillions of seemingly unrelated properties and where to put them. Some start with
akka.contrib.persistence.mongodb
, otherakka-contrib-mongodb-persistence
, and yet anotherakka.persistence
. The documentation, unfortunately, doesn't make it any easier. For example, I wanted to disable snapshots, but the doc only shows how to do it for multiple configurations, which I assume has to be less common than disabling it globally for developmental purposes.I propose that the doc clearly lays out the properties in a hierarchical manner instead of spreading them all over the place. For a seasoned Akka dev, this may not be much of an issue, but for beginners, this is beyond frustrating. The suggested format is as below:
application.conf
reference.conf
I believe if the above format is followed, then most of the verbiage in the doc will not be necessary.
The text was updated successfully, but these errors were encountered: