Commit graph

108 commits

Author SHA1 Message Date
Roland Kuhn
125c996fae add new Streams Quick Start
also move IOResult to akka.stream package
2016-02-16 18:14:32 +01:00
Roland Kuhn
2f9cc7d04f Merge pull request #19626 from MQ-EL/master
=per #19551 support stash overflow strategy
2016-02-16 13:50:40 +01:00
qian miao
952d768693 =per #19551 support stash overflow strategy 2016-02-15 15:27:15 +08:00
Roland Kuhn
6f06e60480 prohibit concurrent write request from same persistenceId #19694
- also use scalactic.ConversionCheckedTripleEquals
- also remove usage of the setting `max-message-batch-size`
2016-02-10 09:24:06 +01:00
Tal Pressman
70130549df =per #19221 Eager initialization of persistence plugins
* Initialization is performed during Persistence initialization, so for this to work the persistence extension should be specified under akka.extensions
2015-12-27 10:10:16 +02:00
Patrik Nordwall
a1c3dbe307 =act #19201 improve configuration of thread-pool-executor
* The old implementation would cap the pool size (both corePoolSize
  and maximumPoolSize) to max-pool-size, which is very confusing
  becuase maximumPoolSize is only used when the task queue is bounded.
* That resulted in configuring core-pool-size-min and core-pool-size-max
  was not enough, because it could be capped by the default max-pool-size.
* The new behavior is simply that maximumPoolSize is adjusted to not be
  less than corePoolSize, but otherwise the config properties match the
  underlying ThreadPoolExecutor implementation.
* Added a convenience fixed-pool-size property.
2015-12-21 09:50:02 +01:00
Roland Kuhn
2fbea1607b Merge pull request #18855 from okthatsneat/Issue-18849_@okthatsneat_fix-ortography_persistence_doc
=doc #18849 Improve orthography & grammar
2015-12-14 17:41:03 +01:00
Philipp Hofmann
dff87ad04f =doc #18849 Improve orthography & grammar
For all docs:
* remove consecutive duplicate words
* Improve use of commata
* Improve use of articles
* Improve consistent use of singular/plural
* Simplify run-on sentences

Review iterations:

* Integrate @rkuhn review points
- bring back the comma for the interjection
- ‘to not’ is not inverted if the infinitive form still follows
- Elegantly connect a run on sentence with a semicolon
- Correct semantic error
- Strictly monotonically preserve math expressions
- Use correct english futures

* Cross sync changes to files in scala, java & java-lambda documentation files using git diff -u | patch
2015-12-14 17:24:41 +01:00
Tal Pressman
f610952ae7 PersistencePluginProxy
* Rename to PersistencePluginProxy.
* Watch target journal.
* Create PersistencePluginProxyExtension to enable eager initialization of
  the persistence plugin.
* Add initialization via configuration.
* Add tests and documentation.
* Clearer log messages.
2015-12-01 17:12:33 +02:00
Konrad Malawski
ec96c5ddb7 =per,tck #18639 introduce capability flags for journal features 2015-11-27 10:29:34 +01:00
Evgeny Shepelyuk
4eaa77608c +per #18559 TCK tests for highestSequenceNr not reset after journal message deletion
* added tests
* docs about highestSeqenceNr behaviour after message deletion
* clarification about highestSequenceNr in AsyncRecovery#asyncReadHighestSequenceNr and AsyncWriteJournal#asyncDeleteMessagesTo
2015-10-19 19:36:13 +03:00
Konrad Malawski
a2df19320f =doc Remove experimental marker from persistence TCK 2015-10-01 13:48:14 +02:00
Patrik Nordwall
23dd1170b0 =per #18451 Recommend configuring stash capacity when persistence is used 2015-09-17 10:45:22 +02:00
Patrik Nordwall
a6d693b8ef =per #17139 Clarify AtLeastOnceDelivery persistent state 2015-09-08 15:07:55 +02:00
Patrik Nordwall
0b1f280739 =per #18342 Improve docs for leveldb plugin config
* clarify how to enable the plugin
* added empty class property in fallback config in reference
  to have a proper place to document that and throw a more
  specific exception if it is not defined
* also some formatting of reference.conf
2015-09-04 11:49:00 +02:00
Patrik Nordwall
fed622eb9f =per #18288 Add docs of leveldb queries 2015-08-21 15:33:21 +02:00
Konrad Malawski
8c4cc9a93f =doc #18128 explain PoisonPill interaction with PA 2015-08-20 13:57:08 +02:00
Patrik Nordwall
7ec0493923 =per #18219 Find plugin constructor automatically 2015-08-18 16:10:29 +02:00
Patrik Nordwall
15828db19f =per #18123 Deprecate PersistentView
* marked PersistentFSM as experimental
* also changed the order of some sections in migration guide
* link to 2.2->2.3 migration guide
* update experimental index page
2015-08-14 15:05:59 +02:00
Konrad Malawski
9422baf5a2 Merge pull request #18214 from ktoso/wip-18061-testactorref-dislikes-persistentactor-ktoso
=per,doc #18061 doc that Persistence won't work with TestActorRef
2015-08-14 13:49:23 +02:00
Konrad Malawski
f629171833 =per,doc #18061 doc that Persistence won't work with TestActorRef 2015-08-14 12:12:20 +02:00
Konrad Malawski
fd43ac7b8d Merge pull request #18084 from ktoso/wip-schema-migration-omg-its-a-small-book-ktoso
+doc #17613 document persistence schema evolution
2015-08-14 11:31:01 +02:00
Konrad Malawski
270c566fea +doc #17613 document persistence schema evolution 2015-08-14 10:50:19 +02:00
Patrik Nordwall
6d0416f0aa !per #17918 Make deleteMessages reply msgs public 2015-08-13 17:13:13 +02:00
Patrik Nordwall
dbeb07a3eb =per #17844 Clarify docs around journal dispatchers
and never run plugin actor on default dispatcher
2015-08-13 13:14:12 +02:00
Konrad Malawski
5a6ee8bd49 Merge pull request #18051 from akka/wip-16541-persistence-query
+per #16541 initial version of the Persistence Query module
2015-08-12 22:14:44 +02:00
Patrik Nordwall & Konrad Malawski
893578a8af +per #16541 java docs for persistence query 2015-08-12 18:14:02 +02:00
Patrik Nordwall
2694e13b32 !per #17862 Remove experimental from persistence 2015-08-12 13:52:19 +02:00
Patrik Nordwall & Konrad Malawski
f849793f36 +per #16541 initial version of the Persistence Query module 2015-08-11 16:35:28 +02:00
Konrad Malawski
015cf988e7 Merge pull request #18166 from ktoso/wip-harden-persistent-fsm-spec-ktoso
=per #18162 harden PersistentFSMActorSpec, less timing sensitive
2015-08-10 17:14:54 +02:00
Konrad Malawski
e23aef93a1 Merge pull request #18052 from ktoso/wip-snapshot-store-optional-ktoso
+per #17668 allows not configuring a snapshot-store if it is never used
2015-08-10 16:46:57 +02:00
Konrad Malawski
ea1016bdf4 +per #17668 allows not configuring a snapshot-store if it is never used 2015-08-10 16:45:18 +02:00
Konrad Malawski
488b1f4d6d !per #18168 consistency improvements for PersistentFSM 2015-08-10 16:22:50 +02:00
Christopher Batey
e3e59c6d04 =doc Fix typo 2015-07-27 15:01:03 +01:00
Stephen McDonald
8232625fcf Fixed typo. 2015-07-19 13:16:48 +10:00
Konrad Malawski
bbd5b2c739 Merge pull request #17925 from ktoso/wip-move-BackoffSupervisor-ktoso
!per +act #17842 move BackoffSupervisor to akka.pattern
2015-07-09 11:14:42 +02:00
Konrad Malawski
86c00d4716 !per +act #17842 move BackoffSupervisor to akka.pattern 2015-07-08 16:45:23 +02:00
Konrad Malawski
561d46e2da =pro fixup in PR validation logging logic 2015-07-08 14:26:19 +02:00
Konrad Malawski
874d07c0ae !per #17518 harmonize and document failure handling in persistence
+ added tests for all failure scenarios (callbacks)
2015-07-07 14:50:42 +02:00
Konrad Malawski
bce84b9b94 +doc #17885 explain sender semantics in receiveRecover 2015-07-03 09:31:27 +02:00
Christopher Batey
8e6df0d322 =doc update references to deferAsync 2015-07-01 10:46:34 +01:00
Konrad Malawski
33fbfec222 !per,doc,sam #17574 #17626 make recovery a method, move lambda samples
+ LambdaDoc samples now in the docs project
= simplified internal state by removing recoveryPending
= recovery is now triggered in around* method, so user is free to use
  preStart freely - recovery works even if one forgets to call super on
  preStart
2015-06-30 16:01:52 +02:00
Konrad Malawski
83e931ea7e Merge pull request #17828 from ktoso/wip-nested-persist-ktoso
~per #15640 support nested persist calls
2015-06-26 12:53:16 +02:00
Patrik Nordwall
77df1372ad +per #17799 Fix refactoring bug in deleteMessages
* add missing test
* use DeleteMessagesFailure and add onDeleteMessagesFailure (logging)
2015-06-26 12:05:38 +02:00
Konrad Malawski
a59c9f73b6 =per #15640 support nested persist/persistAsync 2015-06-26 10:54:32 +02:00
Patrik Nordwall
4638f5630e !per #17832 Remove SyncWriteJournal 2015-06-26 07:12:11 +02:00
Patrik Nordwall
6eea0ddae6 !per #17799 Remove support for non-permanent deletes
* The permanent flag in deleteMessages
* old records stored with deletion flag are still not
  replayed
2015-06-25 15:43:45 +02:00
Patrik Nordwall
8c47e01e9d !per #15377 Mandate atomic writes for persistAll, and support rejections
* changing Plugin API for asyncWriteMessages and writeMessages
* passing explicit AtomicWrite that represents the events of
  persistAll, or a single event from persist
* journal may reject events before storing them, and that
  will result in onPersistRejected (logging) and continue in the
  persistent actor
* clarified the semantics with regards to batches and atomic writes,
  and failures and rejections in the api docs of asyncWriteMessages
  and writeMessages
* adjust the Java plugin API, asyncReplayMessages, doLoadAsync
2015-06-25 15:28:37 +02:00
Konrad Malawski
2a5161ff6f !per #17755 removes the saved callback in plugins and adds receive 2015-06-25 13:44:03 +02:00
Konrad Malawski
7e86dac542 +per #17579 #17617 Introduces EventAdapter
+ per plugin scoped adapters
+ could be swapped during runtime
+per EventAdapter now has manifest and is configurable ai la serializers
+ json examples in docs
+ including "completely manual" example in case one wants to add
  metadata TO the persisted event
+ better error reporting when misconfigured bindings
+ manifest is handled by in memory plugin
- did not check if it works with LevelDB plugin yet
> TODO: json example uses Gson, as that's simplest to do, can we use
+per allows 1:n adapters, multiple adapters can be bound to 1 class
2015-06-23 16:57:43 +02:00