Commit graph

1642 commits

Author SHA1 Message Date
Patrik Nordwall
228e1cfebc
Detect duplicate serializer identifiers, #29100
* Detect duplicate serializer identifiers, #29100
* and expand the documentation for the serializer identifier
* and mention BaseSerializer to read the identifier from config
* same class same id is ok
2020-05-26 13:09:53 +02:00
Patrik Nordwall
176152278b
doc: add routers to Higher level Cluster tools (#29117) 2020-05-26 13:09:01 +02:00
Patrik Nordwall
c45e6ef39b
Add Lightbend's SBR to Akka Cluster, #29085 (#29099)
* change package name to akka.cluster.sbr
* reference.conf has same config paths
* akka.cluster.sbr.SplitBrainResolverProvider instead of com.lightbend.akka.sbr.SplitBrainResolverProvider
* dependency from akka-cluster to akka-coordination, for lease strategy
* move TestLease to akka-coordination and use that in SBR tests
* remove keep-referee strategy
* use keep-majority by default
* review and adjust reference documentation

Co-authored-by: Johan Andrén <johan@markatta.com>
Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
Co-authored-by: Christopher Batey <christopher.batey@gmail.com>
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-05-25 12:21:13 +02:00
contrun
11816df236
add lz4 compression for jackson (#29012) 2020-05-22 13:37:22 +02:00
Patrik Nordwall
3deffc8de2
Harden ShardCoordinator state replication, #28856 (#28895) (#29094)
* Possibility to prefer oldest in ddata writes and reads
  * enabled for Cluster Sharding
* New ReadMajorityPlus and WriteMajorityPlus
  * used by Cluster Sharding, with configuration
  * also possible to define ReadAll in config

(cherry picked from commit 4ba835d328)
2020-05-20 07:34:22 +01:00
Enno
8244f41d2e
Docs: revise Coordinated Shutdown with new actors APIs (#29057) 2020-05-18 19:19:11 +02:00
Christopher Batey
0d1e45f2f5 Fix grammer error in cluster-concepts
Fixes #29060
2020-05-18 13:08:12 +01:00
Johan Andrén
ac3065bfad
Docs for lazy stream operators (#28897) 2020-05-15 12:03:27 +02:00
eyal farago
de59bb6803
Replace LazyFlow with FutureFlow (#28729)
And implement other lazy flows on top of it

Co-Authored-By: Johannes Rudolph <johannes.rudolph@gmail.com>
2020-05-14 10:28:53 +02:00
Christopher Batey
dba6eec460
Migration from persistent shard coordinator to ddata with eventsource… (#29058)
* Migration from persistent shard coordinator to ddata with eventsourced remembered entities

* Fix bin compat in typed sharding

* Add log capturing

* Java API for nested case objects in typed sharding settings

* Starting some docs for remembering entities store

* Snapshot and marker to detect going back to persistence mode

* Review feedback

* Unused imports
2020-05-13 10:38:11 +01:00
Johan Andrén
3fc6445f96
Clarification about receptionist subscription (#29046) 2020-05-08 14:46:33 +02:00
yiksanchan
39914aa7ed
Improve grammar (#29040) 2020-05-07 22:11:10 +02:00
Johan Andrén
b16e2597bd
Extra details around consistent hashing. (#29019) 2020-05-07 15:16:47 +02:00
yiksanchan
683868f9fe
Improve grammar (#29007) 2020-05-06 19:30:28 +02:00
Enno
d82c834a70
Docs: sort out links (#29027) 2020-05-06 15:02:12 +02:00
Renato Cavalcanti
94d3223be2
Merge pull request #29030 from johanandren/wip-updated-classic-block-docs 2020-05-06 13:11:59 +02:00
Ignasi Marimon-Clos
6b4213be2b
Final signature to apidoc review (#29021)
* Replace signature with apidoc in fromMaterializer operator docs

* (untyped) actorRefWithBackpressure replace siugnature with apidoc

* (typed) actorRefWithBackpressure replace siugnature with apidoc

* signature to apidoc of map

* (typed and untyped) actorRef signature to apidoc

* Reviews ask (no replacement)

* from/apply from signature to apidoc directive.
2020-05-06 11:17:53 +02:00
Enno
ebd8a134a8
Docs: Scala binary verison in Maven and gradle dependencies (#29025) 2020-05-06 11:06:55 +02:00
contrun
2104849658
add Source.never (#29008)
* add Source.never

* make Source.never single instance, add DefaultAttributes
2020-05-06 10:33:15 +02:00
Johan Andrén
56088c40ab Update link-to-classic paragraph #29022 2020-05-05 17:40:36 +02:00
Evgenii Ganchurin
8c71fedef0
Minor fix: replaced "terminated" to "constructed" (#29011) 2020-05-05 10:42:48 +02:00
Patrik Nordwall
bef03f8585
Merge pull request #28992 from akka/wip-24466-sharding-query-patriknw
Support GetClusterShardingStats query in Typed #24466
2020-04-30 12:26:39 +02:00
Patrik Nordwall
e01396843e Complete GetClusterShardingStats query, #24466 2020-04-30 11:27:25 +02:00
Ignasi Marimon-Clos
7702bce0d0
A few more apidoc directives (#28995) 2020-04-30 08:59:22 +02:00
Patrik Nordwall
ef79738373
Synchronous TestKit for EventSourcedBehavior, #23712 (#28952)
* using real EventSourcedBehaviorImpl
* using new inmem journal (PersistenceTestKit)
* advantages compared to a "fake" driver
  * no difference in implementation details from real thing
  * no limitations
  * less maintance
* added internal messsages to EventSourcedBehaviorImpl to be able to grab state
  and persistenceId
  * GetState as InternalProtocol instead of Signal so that it is stashed
* serialization checks, using SerializationTestKit
* better testKitGuardian naming to allow multiple PersistenceTestKit
* support testing of restart
* support failure testing by using PersistenceTestKit
* update doc sample
* apidoc, reference docs, and javadsl
2020-04-29 22:06:42 +02:00
Ignasi Marimon-Clos
a25c6091b8
Merge branch 'master' into unify-operator-signature-apidoc 2020-04-29 16:24:57 +02:00
Ignasi Marimon-Clos
64cc32edbd
Examples for extrapolate (#28797)
* Adds example for Extrapolate

* Adds example for Extrapolate (Java)

* Adds example for Expand

* Remove code duplication. Improve docs signature sections

* Update akka-docs/src/main/paradox/stream/operators/Source-or-Flow/extrapolate.md

Co-Authored-By: Arnout Engelen <github@bzzt.net>

* PR comments

Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-04-29 08:51:32 +02:00
Ignasi Marimon-Clos
0e7bce7bae The automatic replacement produces Markdown that caused the paradox task in sbt to timeout or event fail. So
this commit removes some operators with outpu too complex:

- ignored operators:
          "ask.md",
          "alsoTo.md",
          "batchWeighted.md",
          "buffer.md",
          "actorRef.md",
          "collect.md",
          "collection.md",
          "combine.md",
          "completionTimeout.md",
          "concat.md",
          "from.md",
          "fromMaterializer.md",
          "map.md",
          "merge.md",
          "queue.md",
          "log.md", // too many overloads, breaks `paradox` task
          "throttle.md", // too many overloads, breaks `paradox` task
          "idleTimeout.md", // too many overloads, breaks `paradox` task
          "setup.md",
          "watch.md",
          "withBackoff.md",
          "zip.md",
          "zipWith.md",
          "actorRefWithBackpressure.md"

- Ignored class when FQCN contains: Implicits, FlowOpsMat, SubSource, FlowOps, SubFlow, WithContext, DelayStrategy

- some extra manual cleanup on the committed operators.
2020-04-28 19:21:04 +02:00
Ignasi Marimon-Clos
4f667de73d Some cleanup to prepare... 2020-04-28 17:34:40 +02:00
Enno
bb4940b027
Docs: sort all operators by method name in left-hand menu (#28900) 2020-04-28 16:58:00 +02:00
Ignasi Marimon-Clos
fcd960ad78
Merge pull request #28762 from ennru/stream-docs-ask 2020-04-28 16:37:29 +02:00
kerr
6b5d544deb
Add Source.fromJavaStream as convenient method alias (#28881) 2020-04-28 11:15:11 +02:00
Manish Bansal
87964ed4c7
Improved utilities/logging documentation
Added some punctuation to improve readability. Also removed some duplicate lines.
2020-04-28 12:56:55 +05:30
Andreas Gabor
30e79c6231
Allow changing the recovery strategy in a typed persistence actor #25216 (#28932)
* Allow changing the recovery strategy in a typed persistence actor #25216

* scalafmt fix

* added mima exclusion

* added typed.Recovery allowing only default or disabled recovery strategy

* typed.Recovery takes SnapshotSelectionCriteria
deprecated withSnapshotSelectionCriteria

* updated docs
2020-04-28 07:18:50 +01:00
Christopher Batey
0e3cfbf584
Docs: mergeLatest (#28586) 2020-04-27 17:45:04 +02:00
Christophe De Troyer
c28fd34b65
Minor typo in documentation. (#28687) 2020-04-27 17:16:48 +02:00
Christopher Batey
23ea1a4fed
Docs: flatMapConcat (#28584) 2020-04-27 16:46:16 +02:00
Enno Runne
6f8be9a328 Docs: list persistence plugins 2020-04-27 11:23:37 +02:00
Patrik Nordwall
4ba835d328
Harden ShardCoordinator state replication, #28856 (#28895)
* Possibility to prefer oldest in ddata writes and reads
  * enabled for Cluster Sharding
* New ReadMajorityPlus and WriteMajorityPlus
  * used by Cluster Sharding, with configuration
  * also possible to define ReadAll in config
2020-04-24 14:19:53 +02:00
Hungai Amuhinda
9682a81b3f
Fix grammatical error (#28958) 2020-04-22 13:41:50 +02:00
Kirill Yankov
007aa0f710
#28908 - rename returnDefaultPolicy to resetPolicy (#28941) 2020-04-20 17:43:17 +02:00
Patrik Nordwall
1f448cae2c
Merge pull request #28920 from akka/wip-28918-cbor-patriknw
JacksonCborSerializer should use CBOR ofc, #28918
2020-04-20 16:06:04 +02:00
Patrik Nordwall
ef9a2c79c6 JacksonCborSerializer should use CBOR ofc, #28918
* When we updated to Jackson 2.10 (prior Akka 2.6.0) the new JsonFactoryBuilder
  was used. That doesn't preserve the formatParserFeatures and formatGeneratorFeatures
  from the base CBORFactory and therefore the format was plain JSON.

* rolling update compatibility
2020-04-20 15:09:43 +02:00
Bùi Việt Thành
2c6e349c7e scalafix FinalObject - for scalafix ignored files 2020-04-20 17:59:50 +07:00
Patrik Nordwall
634c0d904b
Update the schema evolution doc to also mention Jackson, #28916 2020-04-16 17:29:49 +02:00
Patrik Nordwall
83767a7d4b
Doc orrection of ClusterMessageSerializer manifests change (#28929) 2020-04-16 17:28:57 +02:00
Johan Andrén
5a2e43b2d9
Doc statement no longer true with new Actor APIs (#28924) 2020-04-15 17:45:17 +02:00
Patrik Nordwall
a2e7db7ab4
Merge pull request #28890 from manonthegithub/wip-28869-persistence-testkit-policy-docs
#28869 - example for setting policies in docs (persistence testkit)
2020-04-08 17:31:50 +02:00
Patrik Nordwall
e3992656c8
clarify the implicit parameters of AskPattern, #28836 (#28873) 2020-04-07 07:25:59 +01:00
Kirill Yankov
b78125267f #28869 - example for setting policies in docs (persistence testkit) 2020-04-06 23:04:15 +09:00