* 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
* 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
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.
* 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.
* 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>
* 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
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
* fix wrong ActorSystem name when using MultiNodeClusterShardingSpec #28953
* use same testNameFromCallStack everywhere
* remove MultiJvm suffix from ActorSystem name
* 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
Remove an unused local variable that cause error when scalafix Any2StringAdd
```
scalafix.internal.v1.FileException: unexpected error processing file /Users/thanhbv/ohze/oss/akka/akka-bench-jmh/src/main/scala/akka/actor/TellOnlyBenchmark.scala
Caused by: org.scalameta.UnreachableError: this code path should've been unreachable
at org.scalameta.UnreachableError$.raise(package.scala:40)
at scala.meta.internal.prettyprinters.TreeSyntax$SyntaxInstances.isAmbiguousWithPatVarTerm$1(TreeSyntax.scala:251)
at scala.meta.internal.prettyprinters.TreeSyntax$SyntaxInstances.guessIsBackquoted(TreeSyntax.scala:273)
| => aat scala.meta.internal.prettyprinters.TreeSyntax$SyntaxInstances.$anonfun$syntaxTree$1(TreeSyntax.scala:331)
at scala.meta.prettyprinters.Syntax$$anon$1.apply(Syntax.scala:9)
at scala.meta.internal.prettyprinters.TreeSyntax$.$anonfun$apply$1(TreeSyntax.scala:1018)
at scala.meta.prettyprinters.Syntax$$anon$1.apply(Syntax.scala:9)
at scala.meta.prettyprinters.Api$XtensionSyntax.syntax(Api.scala:11)
at scalafix.internal.v1.TreePos$.symbol(TreePos.scala:9)
at scalafix.internal.v1.InternalSemanticDoc.fromTextDocument$1(InternalSemanticDoc.scala:53)
at scalafix.internal.v1.InternalSemanticDoc.symbol(InternalSemanticDoc.scala:60)
at scalafix.v1.package$XtensionTreeScalafix.symbol(package.scala:12)
at scalafix.v1.SymbolMatcher.unapply(SymbolMatcher.scala:16)
at scalafix.v1.SymbolMatcher.unapply$(SymbolMatcher.scala:15)
at scalafix.v1.SymbolMatcher$$anon$2.unapply(SymbolMatcher.scala:29)
at fix.Any2StringAdd$$anonfun$fix$1.applyOrElse(/Users/thanhbv/ohze/oss/scalafix-rules/scalafix/rules/src/main/scala/fix/Any2StringAdd.scala:41)
```