{"action":"created","issue":{"url":"https://api.github.com/repos/akka/akka/issues/20308","repository_url":"https://api.github.com/repos/akka/akka","labels_url":"https://api.github.com/repos/akka/akka/issues/20308/labels{/name}","comments_url":"https://api.github.com/repos/akka/akka/issues/20308/comments","events_url":"https://api.github.com/repos/akka/akka/issues/20308/events","html_url":"https://github.com/akka/akka/pull/20308","id":148264073,"number":20308,"title":"+per #20257 Snapshots with PersistentFSM","user":{"login":"leonidb","id":2226323,"avatar_url":"https://avatars.githubusercontent.com/u/2226323?v=3","gravatar_id":"","url":"https://api.github.com/users/leonidb","html_url":"https://github.com/leonidb","followers_url":"https://api.github.com/users/leonidb/followers","following_url":"https://api.github.com/users/leonidb/following{/other_user}","gists_url":"https://api.github.com/users/leonidb/gists{/gist_id}","starred_url":"https://api.github.com/users/leonidb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonidb/subscriptions","organizations_url":"https://api.github.com/users/leonidb/orgs","repos_url":"https://api.github.com/users/leonidb/repos","events_url":"https://api.github.com/users/leonidb/events{/privacy}","received_events_url":"https://api.github.com/users/leonidb/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akka/akka/labels/needs-attention","name":"needs-attention","color":"e10c02"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-04-14T06:31:58Z","updated_at":"2016-04-16T18:25:09Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/akka/akka/pulls/20308","html_url":"https://github.com/akka/akka/pull/20308","diff_url":"https://github.com/akka/akka/pull/20308.diff","patch_url":"https://github.com/akka/akka/pull/20308.patch"},"body":"Implemented basic snapshot functionality in PersistentFSM\r\nToDos:\r\n- [ ] Protobuf ,serialization for snapshots\r\n- [ ] Documentation"},"comment":{"url":"https://api.github.com/repos/akka/akka/issues/comments/210868658","html_url":"https://github.com/akka/akka/pull/20308#issuecomment-210868658","issue_url":"https://api.github.com/repos/akka/akka/issues/20308","id":210868658,"user":{"login":"leonidb","id":2226323,"avatar_url":"https://avatars.githubusercontent.com/u/2226323?v=3","gravatar_id":"","url":"https://api.github.com/users/leonidb","html_url":"https://github.com/leonidb","followers_url":"https://api.github.com/users/leonidb/followers","following_url":"https://api.github.com/users/leonidb/following{/other_user}","gists_url":"https://api.github.com/users/leonidb/gists{/gist_id}","starred_url":"https://api.github.com/users/leonidb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonidb/subscriptions","organizations_url":"https://api.github.com/users/leonidb/orgs","repos_url":"https://api.github.com/users/leonidb/repos","events_url":"https://api.github.com/users/leonidb/events{/privacy}","received_events_url":"https://api.github.com/users/leonidb/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T18:25:08Z","updated_at":"2016-04-16T18:25:08Z","body":"@Sushisource \r\n> PR looks mostly done\r\n\r\nI hope it will be ready for the next minor release.\r\n\r\nThanks for the feedback!\r\n\r\nSnapshots can be used without overriding the ```applyEvent``` method.  You can override the ```receiveRecover``` method to add a handling of  ```SnapshotOffer```, the way I’ve done in this PR.\r\n```PersistentFSM``` allows to do quite a lot with a relatively simple DSL. It tries to simplify working with persistence, so ideally all you need can be expressed using DSL. Snapshots are obviously an important feature, hence this PR. \r\nIf you have suggestions regarding specific features that should be provided/simplified, please open an issue. For more general questions/feedback [akka user group](https://groups.google.com/forum/#!forum/akka-user group) is probably more convenient."}}