Commit graph

23387 commits

Author SHA1 Message Date
Patrik Nordwall
e320846f2b Long is not an Int, #26733
* changed when fixing warnings
2019-04-15 15:55:45 +02:00
Patrik Nordwall
df53d1b10d fix wrong BackoffOpts in ClusterSharding, #26724
* note that this regression was never released, change was after 2.5.22
2019-04-15 15:34:32 +02:00
Arnout Engelen
ee67c113e5
Enable fatal warnings by default (with excludes) #26088 (#26726) 2019-04-15 11:39:38 +00:00
Patrik Nordwall
87e7e6518c Fix startup race condition in ActorRefSource, #26714
* fallback to sending message if materializer.supervisor RepointableActorRef
  is not started
* not nice to use Await, but should be rare and that is also used in
  ActorMaterializer.actorOf for similar thing
* also harden test of CompletionStrategy.Immediately, which
  failed if Thread.sleep(100) in RepointableActorRef.point
2019-04-15 11:18:34 +00:00
Patrik Nordwall
f33a181fd6
Merge pull request #26707 from johanandren/wip-typed-intercept-shared-state-johanandren
Document interceptor instance sharing in typed
2019-04-15 11:41:14 +02:00
Christopher Batey
10e525062a Compiler warnings for actor-tests and remote-tests (#26685) 2019-04-15 08:54:16 +00:00
Christopher Batey
2506d00996 Clarify scaladoc for restarting an infinite number of times
Closes #26527
2019-04-15 08:58:57 +01:00
Patrik Nordwall
4399e499c4
Merge pull request #26628 from akka/migrationGuide
Remove ancient streams migration guide
2019-04-15 09:25:26 +02:00
Patrik Nordwall
8c2edd1bf0
Merge pull request #26693 from akka/fixDocs
Fix akka-stream javadoc errors
2019-04-15 09:20:36 +02:00
Helena Edelson
392b4baf20 Compiler warnings for actor-testkit #26708 (#26716) 2019-04-15 07:11:24 +00:00
Patrik Nordwall
7f0d331186
Merge pull request #26715 from longshorej/pp-typo
Fix a typo in PoisonPill warning
2019-04-15 08:46:09 +02:00
Patrik Nordwall
17e15e327c
Merge pull request #26687 from TisonKun/GH-26504
Replace WrappingBehavior with directly access of InterceptorImpl
2019-04-15 08:12:15 +02:00
Jason Longshore
52ee2b10a1 Fix a typo in PoisonPill warning 2019-04-12 15:29:53 -05:00
Jongbeom Kim
04d4185b1e Update Shape.scala (#26472)
Modify s")" to ")"
2019-04-12 08:04:51 +00:00
Patrik Nordwall
c06bbcc364
Merge pull request #26705 from akka/wip-revert-shard-patriknw
revert Shard constructor signature changes
2019-04-10 17:21:52 +00:00
Johan Andrén
e4ed594d20 Document the issue away... (and fix bug in supervision) #26706 2019-04-10 11:31:47 +00:00
Patrik Nordwall
75d3117d7d revert Shard constructor signature changes
* because it breaks instrumentation
2019-04-09 16:11:55 +00:00
yiksanchan
8376bee244 Replace deprecated expectNoMsg with expectNoMessage (#26695) 2019-04-08 16:14:42 +02:00
Jason Zaugg
e2dc818625 Fix typo in documentation (#26702) 2019-04-08 16:12:58 +02:00
Arnout Engelen
a70a193f5a
Fix akka-stream javadoc errors 2019-04-05 17:21:29 +02:00
Christopher Batey
f798481de5 Enable fatal warnings for cluster metrics and slf4j (#26678) 2019-04-05 17:06:02 +02:00
Johan Andrén
4bb60bbcc8
akka-cluster-sharding compiler warnings as fatal errors (#26648) 2019-04-05 14:56:33 +02:00
Johan Andrén
38e63a0e41 akka-persistence compiler warnings as fatal errors (#26654) 2019-04-05 14:43:23 +02:00
Johan Andrén
7e7901ad49
akka-stream compiler warnings as fatal errors (#26673) 2019-04-05 13:06:33 +02:00
tison
dcb2eeabed Replace WrappingBehavior with directly access of InterceptorImpl 2019-04-05 18:59:45 +08:00
Arnout Engelen
6207484c0e
Review follow ups for PR #26653 (#26668)
* Review follow ups for PR #26653

* Internal marker for error messages
2019-04-05 11:04:32 +02:00
Kopaniev Vladyslav
897fecdd97 Use BenchTestSource in streams JMH benchmarks #26563 2019-04-05 11:04:25 +02:00
Patrik Nordwall
ca6d0f8c22 Use ExecutionContext.parasitic for Scala 2.13, #26655"
* scala.concurrent.Future$InternalCallbackExecutor$ doesn't exist in
  Scala 2.13
* also changed the fallback to use sameThreadExecutionContext since they
  seems to be identical
2019-04-05 10:24:03 +02:00
Patrik Nordwall
a82992b1b4 remove obsolete Java serialization compat tests, #26677 (#26686)
* the one for NoMessage fails with Scala 2.13
* the origin of these tests was when Java serialization was
  used for system messages, which isn't used any more
* Scala doesn't guarantee java serialization compatibility between
  major versions anyway
2019-04-05 10:23:29 +02:00
Patrik Nordwall
47739cea7d update instructions for how to use Scalafmt in IntelliJ (#26682) 2019-04-05 08:30:14 +01:00
Christopher Batey
656f88aaf2 Internal marker for error messages 2019-04-05 08:17:47 +01:00
Arnout Engelen
91da4c26e9
Fix ByteIterator for 2.11 and 2.13 (#26680)
Fixes #26658 but for 2.11 and 2.13
2019-04-04 16:06:52 +02:00
Patrik Nordwall
0595975179
Merge pull request #26674 from chbatey/issue-26667
Guide for using artery udp inside a container
2019-04-04 16:06:28 +02:00
Johan Andrén
d699332b53 akka-cluster-tools compiler warnings as fatal errors (#26647) 2019-04-04 15:35:18 +02:00
Arnout Engelen
cc1138523e Correctly parse stream signatures (#26659) (#26669)
That were spread over multiple lines since switching to scalafmt
2019-04-04 13:21:44 +02:00
Patrik Nordwall
9a19a73f9a
Merge pull request #26672 from akka/wip-latestPatchOf25-2.5.22-patriknw
update latestPatchOf25 to 2.5.22
2019-04-04 12:37:48 +02:00
Christopher Batey
5a81e973b4 Make compilation options for akka typed modules strict (#26565) 2019-04-04 10:58:21 +02:00
Arnout Engelen
1610c91ab9
Fix a couple of docs warnings (#26671)
Which make https://jenkins.akka.io:8498/job/akka-docs fail
2019-04-04 10:56:46 +02:00
Patrik Nordwall
8df2366284 addition about rolling update in Artery migration guide (#26670) 2019-04-04 08:09:52 +01:00
Christopher Batey
59bd0cbad5 Guide for using artery udp inside a container 2019-04-03 16:10:40 +01:00
Patrik Nordwall
a8f8409bfa update latestPatchOf25 to 2.5.22 2019-04-03 16:37:39 +02:00
eugene yokota
1a2cf3d4c6 Allow build to run on JDK 8 (#26642)
Ref #26233

Currently Akka fails to build on sbt community build, which runs on JDK 8. Likely it will fail on Scala community build as well due to `--ignore-source-errors`.
This makes the flag conditional based on the running JDK.

It will be useful for Scala toolchain to be able to validate its latest using latest Akka if possible.
2019-04-03 15:28:55 +02:00
Arnout Engelen
abbbfb5b54
Use sbt-paradox-apidoc plugin (#26660)
Instead of using custom code here. Checked with 'meld' that the result
is the same, except for problems that were already there (filed #26659).
2019-04-03 13:14:27 +02:00
Arnout Engelen
76479b8770
[not for merge] Warnings as errors in akka-actor (#26634)
Warnings as errors in akka-actor
2019-04-03 13:13:44 +02:00
Christopher Batey
fbcb8c9f33 Review follow ups for PR #26653 2019-04-03 07:32:38 +01:00
Patrik Nordwall
18802420fb
Merge pull request #26665 from akka/wip-26664-artery-ready-patriknw
Declare Artery TCP ready for production, #26664
2019-04-02 21:55:45 +02:00
Christopher Batey
88091c1ac9 Untyped/Typed supervision (#26653)
* Clarify supervision from untyped to typed
* Default to restart for untyped spawned from typed
* Default to stop for typed spawned from untyped
2019-04-02 21:54:54 +02:00
Patrik Nordwall
9dae4050eb
Always intercept TimerMsg, also when restarted, #26556 (#26650)
* To avoid ClassCastException of TimerMsg if TimerMsg is already enqueued
  in mailbox and there is a restart with intiial behavior that is not using withTimers
* let ActorAdapter be responsible of intercepting TimerMsg
  * instead of trying to keep the TimerInterceptor when restarting
* more conistent cancelation of timers when exception/restart
2019-04-02 18:26:15 +02:00
Patrik Nordwall
c1a9a691a6
Merge pull request #26627 from akka/wip-26545-RetentionCriteria-patriknw
Make RetentionCritera evolvable, #26545
2019-04-02 16:20:53 +02:00
Patrik Nordwall
7c04cf0838
Merge pull request #26663 from akka/wip-26640-ready-patriknw
Declare Akka Typed ready for production, #26640
2019-04-02 16:19:07 +02:00