Commit graph

24886 commits

Author SHA1 Message Date
Christopher Batey
b2509efdb0
Bulk update of external shard allocation (#28699)
* Apply suggestions from code review
Co-authored-by: Sean Glover <sean@seanglover.com>
2020-05-05 17:18:44 +02:00
Yury Gribkov
0099ebc2b8
Add necessary telemetry interceptors for Akka 2.6 AskPattern (#28580)
* telemetry interceptors for Akka Classic AskPattern
* telemetry interceptors for Akka Typed AskPattern
* Call onComplete even if the ask future is already completed to intercept late responses
* necessary telemetry interceptors for Akka sharded Typed Entity AskPattern
2020-05-05 17:13:21 +02:00
Renato Cavalcanti
b52cda7b34
Merge pull request #29017 from scala-steward/update/metrics-core-4.1.7 2020-05-05 11:04:35 +02:00
Renato Cavalcanti
27610bcf05
Merge pull request #29016 from scala-steward/update/jackson-databind-2.10.4 2020-05-05 11:04:05 +02:00
Ignasi Marimon-Clos
7b6d59b9fb
Comment improvements on SSLConfigProvider reference.conf (#29004) 2020-05-05 10:47:01 +02:00
Evgenii Ganchurin
8c71fedef0
Minor fix: replaced "terminated" to "constructed" (#29011) 2020-05-05 10:42:48 +02:00
Patrik Nordwall
1708193c06
Merge pull request #28977 from akka/wip-28732-fabricateParams-patriknw
Don't generate JavaDoc noise, #28732
2020-05-04 12:01:08 +02:00
Patrik Nordwall
3158803a37
update latestPatchOf26 to 2.6.5 (#28997)
* update latestPatchOf26 to 2.6.5
* mima exclude for jfr package in 2.6.x
2020-05-04 11:45:03 +02:00
Scala Steward
43d39dda59
Update metrics-core, metrics-jvm to 4.1.7 2020-05-04 10:16:53 +02:00
Scala Steward
2b8c3d98d3
Update jackson-databind to 2.10.4 2020-05-04 10:16:46 +02:00
Patrik Nordwall
8cfc23da37
fix publishRsync in release script (#29003) 2020-04-30 21:26:49 +02:00
Enno
d973f016cc
Docs: Javadoc links in project info (#28998) 2020-04-30 17:05:02 +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
Viktor Klang (√)
a910bee99f
Handling of onSpinWait and its absence in AffinityPool (#28946) 2020-04-29 20:08:05 +02:00
Ignasi Marimon-Clos
03411dd3cd
Merge pull request #28980 from ignasi35/unify-operator-signature-apidoc 2020-04-29 18:18:30 +02:00
Ignasi Marimon-Clos
a25c6091b8
Merge branch 'master' into unify-operator-signature-apidoc 2020-04-29 16:24:57 +02:00
Renato Cavalcanti
23535367a0
Merge pull request #28988 from renatocaval/artery-udp-three-lanes-spec 2020-04-29 13:55:15 +02:00
Renato Cavalcanti
379565e740
check that ActorIdentity is from the expected ActorPath 2020-04-29 10:38:49 +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
Patrik Nordwall
21bab49ca0
Merge pull request #28844 from akka/wip-28720-delivery-request-interval-patriknw
Dynamically adjust the ConsumerController's resend interval for Request, #28720
2020-04-28 22:04:14 +02:00
Patrik Nordwall
8865ca44d6 Dynamically adjust the ConsumerController's resend interval for Request, #28720
* increase the interval when idle in active Behavior, no incoming messages
* still avoiding rescheduling the timer for each message
* when there is a steady flow of incoming messages it will only send the Request
  messages after half flow-control-window
* changed config property resend-interval to resend-interval-min and resend-interval-max
* the change of this setting is not backwards compatible but ApiMayChange and
  probably nobody using that setting yet
*

* fix ReliableDeliveryRandomSpec

* mima filter
2020-04-28 19:35:07 +02:00
Helena Edelson
c0e31978e6 Support GetClusterShardingStats query in Typed #24466 2020-04-28 19:27:43 +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
Arnout Engelen
ad2bd70213
Use sbt-publish-rsync rather than our own (#28868) 2020-04-28 11:49:42 +02:00
kerr
6b5d544deb
Add Source.fromJavaStream as convenient method alias (#28881) 2020-04-28 11:15:11 +02:00
Scala Steward
404d45ea82
Update sbt-paradox-akka to 0.33 (#28983) 2020-04-28 08:31:07 +02:00
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
Scala Steward
dc9f907caa
Update sbt-header to 5.6.0 (#28944) 2020-04-27 19:31:02 +02:00
Johannes Rudolph
b8df0351cd
actor: use simple comparison in LightArrayRevolverScheduler (#28981) 2020-04-27 17:55:24 +02:00
Christopher Batey
0e3cfbf584
Docs: mergeLatest (#28586) 2020-04-27 17:45:04 +02:00
Renato Cavalcanti
8e0c8d07b9
Merge pull request #28974 from akka/wip-28939-protobuf-dep-patriknw 2020-04-27 17:35:49 +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
contrun
c2945a3e7f
Docs: API docs for asSourceWithContext (#28950) 2020-04-27 16:15:28 +02:00
Arnout Engelen
2db52a06ea
Check mima against 2.5.31 (#28857) 2020-04-27 16:11:32 +02:00
Patrik Nordwall
f36935abd0 Don't generate JavaDoc noise, #28732 2020-04-27 15:27:14 +02:00
Renato Cavalcanti
f520ca7b7a
Merge pull request #28975 from ennru/update-persistence-plugins 2020-04-27 14:35:23 +02:00
kerr
0e4d41ad33
+build Add sort imports support. (#28780)
* Add scalafix plugin for jdk 9.
* Add command alias sortImports.
* Excludes some sources from SortImports.
* Update SortImports to 0.4.0
* Sort imports with `sortImports` command.
2020-04-27 14:32:18 +02:00
ohze.net
ea7205eaf7
dotty phase 2: scalafix ExplicitNonNullaryApply (#28949)
* scalafix ExplicitNonNullaryApply prepare

+ Temporarily use com.sandinh:sbt-scalafix because scalacenter/scalafix#1098
+ Add ExplicitNonNullaryApply rule to .scalafix.conf
+ Manually fix a NonNullaryApply case in DeathWatchSpec that cause
  `fixall` fail because ExplicitNonNullaryApply rule incorrectly rewrite
  `context unbecome` to `context unbecome()` instead of `context.unbecome()`

* scalafix ExplicitNonNullaryApply

fix by enabling only ExplicitNonNullaryApply rule in .scalafix.conf then:
```
% sbt -Dakka.build.scalaVersion=2.13.1
> fixall
```

* scalafmtAll

* Revert to ch.epfl.scala:sbt-scalafix

Co-authored-by: Bùi Việt Thành <thanhbv@sandinh.net>
2020-04-27 12:31:16 +02:00
Enno Runne
6f8be9a328 Docs: list persistence plugins 2020-04-27 11:23:37 +02:00
Patrik Nordwall
3784d03a2a remove visible protobuf-java dependency from akka-protobuf-v3, #28939 2020-04-27 11:15:10 +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
Domantas Petrauskas
d415211bf8
Update sbt-java-formatter to 0.5.1, disable javafmt on compile if discipline is disabled (#28962) 2020-04-24 14:12:01 +02:00
Arnout Engelen
305fa61a64
Fix typo in ClusterMetricsDisabledSpec (#28969)
Because of this typo this node did not follow the convention for multi-node
test class names from #28954, which caused its actor system to have an
unexpected name and fail to join the cluster.

Refs #28968
2020-04-24 14:10:50 +02:00