Commit graph

24376 commits

Author SHA1 Message Date
Enno
4d04bb968b Docs: add some API links to stream operator docs (#28180)
* Docs: add some API links to stream operator docs

* Complement CONTRIBUTION.md

* Switch to frameless Javadoc
2019-12-03 09:16:05 +01:00
Scala Steward
d53d3701fa Update sbt-scalafix to 0.9.11 (#28285) 2019-12-02 13:01:08 +01:00
Enno
ea60c364f2 Docs: use ref-links to pages (#28288) 2019-12-02 12:06:12 +01:00
Scala Steward
d4ab19e60b Update mockito-core to 3.2.0 (#28283) 2019-12-02 11:46:32 +01:00
Robert Stoll
a7d5ef1af6 [doc] add an for a better flow (#28286) 2019-12-02 11:43:13 +01:00
Robert Stoll
409f3a541b [doc] typo, add missing response (#28287) 2019-12-02 11:42:25 +01:00
kerr
9712db7b48 +sbt Add rewriteTokens (#28282) 2019-12-02 09:02:22 +01:00
Robert Stoll
052050b1af [doc] rephrase ask system to SpawnProtocol.spawn (#28277) 2019-11-29 15:23:31 +01:00
Robert Stoll
a336096517 [doc] typo add an for a better flow (#28275) 2019-11-29 14:48:55 +01:00
Robert Stoll
f918ead3a3 [doc] precise that guardian refers to user guardian (#28276) 2019-11-29 14:48:29 +01:00
Robert Stoll
be58b8614d [doc] remove superfluous from (#28278) 2019-11-29 14:47:37 +01:00
Johan Andrén
583fe3e2a4
Delay operator emit early fix #28269
* Bugfix for delay stage with EmitEarly #28269

Emit early would make it pull eagerly even if out was not available,
when element arrived and buffer was full and out not available that
element would be left in the input port and never end up in the buffer.

* Additional cleanup of the Delay stage
2019-11-29 14:46:51 +01:00
Johan Andrén
bfabdebace Revert "Remove scalac javabootclasspath hack (#28156)" (#28268)
Breaks the JDK 11 nightlies

This reverts commit 2bf43d394c.
2019-11-29 13:40:47 +01:00
sullis
dbc97fb6f3 Scala 2.13.0 -> Scala 2.13.1 (#28140)
* Scala 2.13.0 -> Scala 2.13.1

* Update to genjavadoc 0.15

* Allow 'higherKinds' without explicit import

To follow the 2.13.1 convention

* Remaining higherKinds imports

* Mima excludes for missing value classes in generics
2019-11-29 13:38:19 +01:00
Patrik Nordwall
a2b644c513
Merge pull request #28267 from dwijnand/use-CrossVersion.patch-for-silencer
Use CrossVersion.patch for Silencer plugin
2019-11-29 12:49:18 +01:00
Patrik Nordwall
d1cc16bdc0
Better deadLetter logging of wrapped messages, #28109 (#28253)
* specifically AdaptMessage that is used for Typed messageAdapter
  and ActorContext.ask
2019-11-29 12:47:49 +01:00
Scala Steward
24b4c48a21 Update aeron-client, aeron-driver to 1.24.0 (#28247)
* and update agrona accordingly
2019-11-29 12:35:19 +01:00
Patrik Nordwall
a02a1e8ccb
Merge pull request #28262 from akka/fixTimerTest
Use timer key for tests that require it
2019-11-28 13:22:44 +01:00
Johan Andrén
4588a3904f
Include host and port in mdc if clustered or remote #28073 2019-11-28 11:35:11 +01:00
Robert Stoll
38c938124e [doc] rephrase actor handles msgs of common super type (#28265)
* [doc] rephrase actor handles msgs of common super type

* Update akka-docs/src/main/paradox/typed/actors.md

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-11-28 10:52:40 +01:00
Dale Wijnand
bcfa1b8586 Use CrossVersion.patch for Silencer plugin
For details on how these differ see:
https://www.scala-sbt.org/1.x/docs/Cross-Build.html#More+about+using+cross-built+libraries

The motivaton for this is so this part of the build doesn't need to be
(ironically) patched when running with a binary-compatible build of the
next patch release of Scala (e.g. Scala 2.13.2-bin-SHA).

Ideally this could be backported to the release-2.5 branch so it would
be immediately of use, otherwise it'll only be available in the
community builds that track Akka 2.6.
2019-11-28 08:35:05 +00:00
Scala Steward
5c0d7bf3dc Update sbt-header to 5.3.1 (#28259) 2019-11-27 18:22:12 +01:00
Robert Stoll
5fdd63b011 [doc] typo, add missing a (#28257) 2019-11-27 17:52:17 +01:00
Robert Stoll
efb8a41e6e [doc] typo, add missing are (#28263) 2019-11-27 17:51:32 +01:00
Enno
4946c957eb Docs: link pages with TLS (#28258) 2019-11-27 17:33:44 +01:00
Jean-Baptiste Giraudeau
6d893fb571 Flow.delayWith allows custom delay for each element. (#25000) 2019-11-27 17:30:56 +01:00
Arnout Engelen
a6392f0a40 Use timer key for tests that require it 2019-11-27 16:22:08 +01:00
Patrik Nordwall
db141d0373
Merge pull request #28256 from akka/revertExtensionLoadFailureHandling
Revert to old extension load failure handling logic
2019-11-27 12:58:59 +01:00
Piotr Lewandowski
270f15f620 adding address typed actorsystem #28206 2019-11-27 09:55:15 +01:00
Arnout Engelen
838c3355ae Revert to old extension load failure handling logic
Partially reverting #28248 to make the existing tests succeed again
Fixes #28254
2019-11-26 21:23:15 +01:00
Lim Chee Hau
571c7bd545 Include host and port in BindException message (#27785) (#27984) 2019-11-26 19:48:19 +01:00
Christopher Batey
8027f2123b Example for mapConcat (#28243)
* Example for mapConcat
2019-11-26 19:39:42 +01:00
Johan Andrén
a9d545bf2b Re-enable multicast tests (#28252)
* Re-enable multicast tests #28147

Some change on jenkins node a4 seems to have made the test pass again.
2019-11-26 18:45:31 +01:00
Christopher Batey
f2f3f64f21 Example for unfoldResourceAsync (#28080)
* Example for unfoldResourceAsync

Co-Authored-By: Enno <458526+ennru@users.noreply.github.com>
2019-11-26 18:38:23 +01:00
Patrik Nordwall
5f21c2264b doc: filter and filterNot streams operator, #25468 2019-11-26 15:54:42 +01:00
Arnout Engelen
4b632c4537 Add convenience method to start timer without key (#27875)
* Add convenience method to start timer without key

It is probably common that there is no need to allow different timers
that send the same message, and this makes that more convenient to write.

Updated one method to gather feedback, if we like the change I can apply
it to the others as well.

* Add alternative to all typed timer API's

Update java/scaladoc, update tests

Not updated classic actors and FSM API's
2019-11-26 13:26:49 +00:00
Patrik Nordwall
38d41e11fb doc: Partition Streams operator, #25468 (#28090)
* doc: Partition Streams operator, #25468

* example intro text
2019-11-26 13:11:43 +00:00
Johan Andrén
4d99440e00
Example for Source.unfoldAsync (#28111) 2019-11-26 14:10:31 +01:00
Patrik Nordwall
938322ac4e more efficient and correct clear in Slf4jLogger (#28094)
* more efficient MDC.put and clear in Slf4jLogger

* no advantage of using mdcAdpater for put
2019-11-26 13:10:04 +00:00
Arnout Engelen
2bf43d394c Remove scalac javabootclasspath hack (#28156)
This should have been implicit with the -release flag, and now
this indeed appears to be the case. Tested with 2.12 and 2.13.0

Fixes the scalac part of #27079
2019-11-26 12:58:29 +00:00
Arnout Engelen
afa9a348b1 Split akka-streams interop pages (#28219)
This is a balance between having huge pages and having a huge ToC,
but it seemed to make sense to split this
2019-11-26 12:56:31 +00:00
Arnout Engelen
8bfb891d38
Missing creation of second actor (#28251)
* Update ActorHierarchyExperiments.java

Missing creation of second actor:
context.spawn(StartStopActor2.create(), "second");

* sbt akka-docs/test:javafmt
2019-11-26 12:57:44 +01:00
Christopher Batey
09a97ce1c9 Document scanAsync (#28239)
* Document scanAsync

* Include async function in scanAsync example
2019-11-26 12:25:20 +01:00
Patrik Nordwall
82db446bb7 Don't loadExtensions at startup if already terminated, #27840 (#28248)
* Problem could be recreated with DowningProviderSpec when running
  with -Dakka.remote.artery.enabled=off
* The exception from the downing provider caused cluster shutdown
  followed by CoordinatedShutdown and ActorSystem.finalTerminate
* The ActorSystem had still not fully initialized so it tried to
  load the configured extensions and the SystemMaterializer extension
* SystemMaterializer can't create child actor
* The thrown exception isn't wrong but might be confusing
* Skip loading extensions if ActorSystem already terminated
* The reason for different behavior with Artery and classic remoting
  is that Artery inits the SystemMaterializer earlier
2019-11-26 11:44:37 +01:00
Johan Andrén
8febed2aed Use dedicated message for PersistentShardCoodinator termination #28093 (#28244)
with a dedicated ShardCoordinator termination message
2019-11-26 11:41:14 +01:00
Arnout Engelen
0e81641b65
Make akka-protobuf-v3.jar reproducible (#28108)
This needs 'special treatment' because the akka build overrides
`packageBin` for this subproject
2019-11-26 11:02:06 +01:00
Lim Chee Hau
444a86291e Add scanAsync examples to akka-docs (#25468) (#27990)
* Add scanAsync examples to akka-docs (#25468)

* Sync scan with scanAsync in akka-docs (#25468)
2019-11-26 10:57:12 +01:00
Lim Chee Hau
2ee63f5386 Add recover example to akka-docs (#25468) (#28004)
* Add recover example to akka-docs (#25468)

* Apply scalafmtAll (#25468)
2019-11-26 10:55:26 +01:00
Robert Stoll
f3eb1772ea [doc] typo actor instead of cator (#28246) 2019-11-26 09:57:22 +01:00
Robert Stoll
f974f8b8d9 [doc] typo remove superfluous a (#28245) 2019-11-26 08:13:38 +01:00