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
Akka-persistence-inmemory is a plugin for akka-persistence that stores journal and snapshot messages memory, which is very useful when testing persistent actors, persistent FSM and akka cluster.
9
+
[akka-persistence-inmemory](https://github.com/dnvriend/akka-persistence-inmemory) is a plugin for akka-persistence that stores journal and snapshot messages memory, which is very useful when testing persistent actors, persistent FSM and akka cluster.
10
10
11
11
## Installation
12
12
Add the following to your `build.sbt`:
@@ -15,7 +15,7 @@ Add the following to your `build.sbt`:
-[Michał Płachta - Building multiplayer game using Reactive Streams](https://www.youtube.com/watch?v=iKTFalVfoSU)
312
-
-[Patrik Nordwall - Intro to Akka persistence (2014)](https://www.youtube.com/watch?v=r5lecCBazvE)
313
-
-[Greg Young - Event Sourcing(2014)](https://www.youtube.com/watch?v=8JKjvY4etTY)
314
-
315
-
# What's new?
316
-
## 1.3.14 (2016-11-03)
293
+
## Changelog
294
+
295
+
### 1.3.18 (2016-12-20)
296
+
- Akka 2.4.14 -> 2.4.16
297
+
298
+
### 1.3.17 (2016-12-08)
299
+
- Scala 2.12.0 -> 2.12.1
300
+
301
+
### 1.3.16 (2016-11-22)
302
+
- Akka 2.4.13 -> 2.4.14
303
+
304
+
### 1.3.15 (2016-11-19)
305
+
- Akka 2.4.12 -> 2.4.13
306
+
307
+
### 1.3.14 (2016-11-03)
317
308
- cross scala 2.11.8 and 2.12.0 build
318
309
319
-
## 1.3.13 (2016-11-01 - Birthday Edition!)
310
+
###1.3.13 (2016-11-01 - Birthday Edition!)
320
311
- Implemented support for the `akka.persistence.query.TimeBasedUUID`.
321
312
- You should set the __new__ configuration key `inmemory-read-journal.offset-mode = "uuid"`, defaults to `sequence`
322
313
to produce `EventEnvelope2` that contain `TimeBasedUUID` offset fields.
323
314
324
-
## 1.3.12 (2016-10-28)
315
+
###1.3.12 (2016-10-28)
325
316
- Akka 2.4.11 -> 2.4.12
326
317
- Support for the new queries `CurrentEventsByTagQuery2` and `EventsByTagQuery2`, please read the [akka-persistence-query](http://doc.akka.io/docs/akka/2.4.12/scala/persistence-query.html) documentation to see what has changed.
327
318
- The akka-persistence-inmemory plugin only supports the `akka.persistence.query.NoOffset` or `akka.persistence.query.Sequence` offset types.
328
319
- There is no support for the `akka.persistence.query.TimeBasedUUID` offset type. When used, akka-persistence-inmemory will throw an IllegalArgumentException.
329
320
330
-
## 1.3.11 (2016-10-23)
321
+
###1.3.11 (2016-10-23)
331
322
- Scala 2.11.8 and 2.12.0-RC2 compatible
332
323
333
-
## 1.3.10 (2016-09-30)
324
+
###1.3.10 (2016-09-30)
334
325
- Akka 2.4.10 -> 2.4.11
335
326
336
-
## 1.3.9 (2016-09-22)
327
+
###1.3.9 (2016-09-22)
337
328
- Adapted version of PR #28 by [Yury Gribkov](https://github.com/ygree) - Fix bug: It doesn't adapt events read from journal, thanks!
338
329
- As event adapters are no first class citizins of akka-persistence-query (yet), a workaround based on the configuration of akka-persistence-cassandra
339
330
has been implemented in the inmemory journal based on the work of [Yury Gribkov](https://github.com/ygree). Basically, the query-journal will look for
@@ -343,173 +334,173 @@ Is Event Sourcing getting traction? I would say so:
343
334
configured correctly.
344
335
- Removed the non-official and never-to-be-used bulk loading interface
345
336
346
-
## 1.3.8 (2016-09-07)
337
+
###1.3.8 (2016-09-07)
347
338
- Akka 2.4.9 -> Akka 2.4.10
348
339
349
-
## 1.3.7 (2016-08-21)
340
+
###1.3.7 (2016-08-21)
350
341
- Fix for EventsByPersistenceId should terminate when toSequenceNumber is reached as pointed out by [monktastic](https://github.com/monktastic), thanks!
351
342
352
-
## 1.3.6 (2016-08-20)
343
+
###1.3.6 (2016-08-20)
353
344
- Akka 2.4.9-RC2 -> Akka 2.4.9
354
345
355
-
## 1.3.6-RC2 (2016-08-06)
346
+
###1.3.6-RC2 (2016-08-06)
356
347
- Akka 2.4.9-RC1 -> 2.4.9-RC2
357
348
358
-
## 1.3.6-RC1 (2016-08-03)
349
+
###1.3.6-RC1 (2016-08-03)
359
350
- Akka 2.4.8 -> 2.4.9-RC1
360
351
361
-
## 1.3.5 (2016-07-23)
352
+
###1.3.5 (2016-07-23)
362
353
- Support for the __non-official__ bulk loading interface [akka.persistence.query.scaladsl.EventWriter](https://github.com/dnvriend/akka-persistence-query-writer/blob/master/src/main/scala/akka/persistence/query/scaladsl/EventWriter.scala)
363
354
added. I need this interface to load massive amounts of data, that will be processed by many actors, but initially I just want to create and store one or
364
355
more events belonging to an actor, that will handle the business rules eventually. Using actors or a shard region for that matter, just gives to much
365
356
actor life cycle overhead ie. too many calls to the data store. The `akka.persistence.query.scaladsl.EventWriter` interface is non-official and puts all
366
357
responsibility of ensuring the integrity of the journal on you. This means when some strange things are happening caused by wrong loading of the data,
367
358
and therefor breaking the integrity and ruleset of akka-persistence, all the responsibility on fixing it is on you, and not on the Akka team.
368
359
369
-
## 1.3.4 (2016-07-17)
360
+
###1.3.4 (2016-07-17)
370
361
- Codacy code cleanup release.
371
362
372
-
## 1.3.3 (2016-07-16)
363
+
###1.3.3 (2016-07-16)
373
364
- No need for Query Publishers with the new akka-streams API.
374
365
375
-
## 1.3.2 (2016-07-09)
366
+
###1.3.2 (2016-07-09)
376
367
- Journal entry 'deleted' fixed, must be set manually.
377
368
378
-
## 1.3.1 (2016-07-09)
369
+
###1.3.1 (2016-07-09)
379
370
- Akka 2.4.7 -> 2.4.8,
380
371
- Behavior of akka-persistence-query *byTag query should be up to spec,
381
372
- Refactored the inmemory plugin code base, should be more clean now.
382
373
383
-
## 1.3.0 (2016-06-09)
374
+
###1.3.0 (2016-06-09)
384
375
- Removed the queries `eventsByPersistenceIdAndTag` and `currentEventsByPersistenceIdAndTag` as they are not supported by Akka natively and can be configured by filtering the event stream.
385
376
- Implemented true async queries using the polling strategy
386
377
387
-
## 1.2.15 (2016-06-05)
378
+
###1.2.15 (2016-06-05)
388
379
- Akka 2.4.6 -> 2.4.7
389
380
390
-
## 1.2.14 (2016-05-25)
381
+
###1.2.14 (2016-05-25)
391
382
- Fixed issue Unable to differentiate between persistence failures and serialization issues
392
383
- Akka 2.4.4 -> 2.4.6
393
384
394
-
## 1.2.13 (2016-04-14)
385
+
###1.2.13 (2016-04-14)
395
386
- Akka 2.4.3 -> 2.4.4
396
387
397
-
## 1.2.12 (2016-04-01)
388
+
###1.2.12 (2016-04-01)
398
389
- Scala 2.11.7 -> 2.11.8
399
390
- Akka 2.4.2 -> 2.4.3
400
391
401
-
## 1.2.11 (2016-03-18)
392
+
###1.2.11 (2016-03-18)
402
393
- Fixed issue on the query api where the offset on eventsByTag and eventsByPersistenceIdAndTag queries were not sequential
403
394
404
-
## 1.2.10 (2016-03-17)
395
+
###1.2.10 (2016-03-17)
405
396
- Refactored the akka-persistence-query interfaces, integrated it back again in one jar, for jcenter deployment simplicity
406
397
407
-
## 1.2.9 (2016-03-16)
398
+
###1.2.9 (2016-03-16)
408
399
- Added the appropriate Maven POM resources to be publishing to Bintray's JCenter
409
400
410
-
## 1.2.8 (2016-03-03)
401
+
###1.2.8 (2016-03-03)
411
402
- Fix for propagating serialization errors to akka-persistence so that any error regarding the persistence of messages will be handled by the callback handler of the Persistent Actor; `onPersistFailure`.
412
403
413
-
## 1.2.7 (2016-02-18)
404
+
###1.2.7 (2016-02-18)
414
405
- Better storage implementation for journal and snapshot
415
406
416
-
## 1.2.6 (2016-02-17)
407
+
###1.2.6 (2016-02-17)
417
408
- Akka 2.4.2-RC3 -> 2.4.2
418
409
419
-
## 1.2.5 (2016-02-13)
410
+
###1.2.5 (2016-02-13)
420
411
- akka-persistence-jdbc-query 1.0.0 -> 1.0.1
421
412
422
-
## 1.2.4 (2016-02-13)
413
+
###1.2.4 (2016-02-13)
423
414
- Akka 2.4.2-RC2 -> 2.4.2-RC3
424
415
425
-
## 1.2.3 (2016-02-08)
416
+
###1.2.3 (2016-02-08)
426
417
- Compatibility with Akka 2.4.2-RC2
427
418
- Refactored the akka-persistence-query extension interfaces to its own jar: `"com.github.dnvriend" %% "akka-persistence-jdbc-query" % "1.0.0"`
428
419
429
-
## 1.2.2 (2016-01-30)
420
+
###1.2.2 (2016-01-30)
430
421
- Code is based on [akka-persistence-jdbc](https://github.com/dnvriend/akka-persistence-jdbc)
431
422
- Supports the following queries:
432
423
-`allPersistenceIds` and `currentPersistenceIds`
433
424
-`eventsByPersistenceId` and `currentEventsByPersistenceId`
434
425
-`eventsByTag` and `currentEventsByTag`
435
426
-`eventsByPersistenceIdAndTag` and `currentEventsByPersistenceIdAndTag`
436
427
437
-
## 1.2.1 (2016-01-28)
428
+
###1.2.1 (2016-01-28)
438
429
- Supports for the javadsl query API
439
430
440
-
## 1.2.0 (2016-01-26)
431
+
###1.2.0 (2016-01-26)
441
432
- Compatibility with Akka 2.4.2-RC1
442
433
443
-
## 1.1.6 (2015-12-02)
434
+
###1.1.6 (2015-12-02)
444
435
- Compatibility with Akka 2.4.1
445
436
- Merged PR #17[Evgeny Shepelyuk](https://github.com/eshepelyuk) Upgrade to AKKA 2.4.1, thanks!
446
437
447
-
## 1.1.5 (2015-10-24)
438
+
###1.1.5 (2015-10-24)
448
439
- Compatibility with Akka 2.4.0
449
440
- Merged PR #13[Evgeny Shepelyuk](https://github.com/eshepelyuk) HighestSequenceNo should be kept on message deletion, thanks!
450
441
- Should be a fix for [Issue #13 - HighestSequenceNo should be kept on message deletion](https://github.com/dnvriend/akka-persistence-inmemory/issues/13) as per [Akka issue #18559](https://github.com/akka/akka/issues/18559)
451
442
452
-
## 1.1.4 (2015-10-17)
443
+
###1.1.4 (2015-10-17)
453
444
- Compatibility with Akka 2.4.0
454
445
- Merged PR #12[Evgeny Shepelyuk](https://github.com/eshepelyuk) Live version of eventsByPersistenceId, thanks!
455
446
456
-
## 1.1.3 (2015-10-02)
447
+
###1.1.3 (2015-10-02)
457
448
- Compatibility with Akka 2.4.0
458
449
- Akka 2.4.0-RC3 -> 2.4.0
459
450
460
-
## 1.1.3-RC3 (2015-09-24)
451
+
###1.1.3-RC3 (2015-09-24)
461
452
- Merged PR #10[Evgeny Shepelyuk](https://github.com/eshepelyuk) Live version of allPersistenceIds, thanks!
462
453
- Compatibility with Akka 2.4.0-RC3
463
454
- Use the following library dependency: `"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.3-RC3"`
464
455
465
-
## 1.1.1-RC3 (2015-09-19)
456
+
###1.1.1-RC3 (2015-09-19)
466
457
- Merged Issue #9[Evgeny Shepelyuk](https://github.com/eshepelyuk) Initial implemenation of Persistence Query for In Memory journal, thanks!
467
458
- Compatibility with Akka 2.4.0-RC3
468
459
- Use the following library dependency: `"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.1-RC3"`
469
460
470
-
## 1.1.0-RC3 (2015-09-17)
461
+
###1.1.0-RC3 (2015-09-17)
471
462
- Merged Issue #6[Evgeny Shepelyuk](https://github.com/eshepelyuk) Conditional ability to perform full serialization while adding messages to journal, thanks!
472
463
- Compatibility with Akka 2.4.0-RC3
473
464
- Use the following library dependency: `"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.0-RC3"`
474
465
475
-
## 1.1.0-RC2 (2015-09-05)
466
+
###1.1.0-RC2 (2015-09-05)
476
467
- Compatibility with Akka 2.4.0-RC2
477
468
- Use the following library dependency: `"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.0-RC2"`
478
469
479
-
## 1.0.5 (2015-09-04)
470
+
###1.0.5 (2015-09-04)
480
471
- Compatibilty with Akka 2.3.13
481
472
- Akka 2.3.12 -> 2.3.13
482
473
483
-
## 1.1.0-RC1 (2015-09-02)
474
+
###1.1.0-RC1 (2015-09-02)
484
475
- Compatibility with Akka 2.4.0-RC1
485
476
- Use the following library dependency: `"com.github.dnvriend" %% "akka-persistence-inmemory" % "1.1.0-RC1"`
486
477
487
-
## 1.0.4 (2015-08-16)
478
+
###1.0.4 (2015-08-16)
488
479
- Scala 2.11.6 -> 2.11.7
489
480
- Akka 2.3.11 -> 2.3.12
490
481
- Apache-2.0 license
491
482
492
-
## 1.0.3 (2015-05-25)
483
+
###1.0.3 (2015-05-25)
493
484
- Merged Issue #2[Sebastián Ortega](https://github.com/sortega) Regression: Fix corner case when persisted events are deleted, thanks!
494
485
- Added test for the corner case issue #1 and #2
495
486
496
-
## 1.0.2 (2015-05-20)
487
+
###1.0.2 (2015-05-20)
497
488
- Refactored from the ConcurrentHashMap implementation to a pure Actor managed concurrency model
498
489
499
-
## 1.0.1 (2015-05-16)
490
+
###1.0.1 (2015-05-16)
500
491
- Some refactoring, fixed some misconceptions about the behavior of Scala Futures one year ago :)
501
492
- Akka 2.3.6 -> 2.3.11
502
493
- Scala 2.11.1 -> 2.11.6
503
494
- Scala 2.10.4 -> 2.10.5
504
495
- Merged Issue #1[Sebastián Ortega](https://github.com/sortega) Fix corner case when persisted events are deleted, thanks!
0 commit comments