Commit graph

24394 commits

Author SHA1 Message Date
Johannes Rudolph
702b6a7f41 actor: allow seamless access to untyped extensions given typed ActorSystem (#28294)
* actor: allow seamless access to untyped extensions given typed ActorSystem

* add overrides with concrete type for Java API everywhere
2019-12-05 16:01:22 +01:00
Patrik Nordwall
2c96a57d89
Merge pull request #28274 from chbatey/rebalance-dead-letter
Avoid dead letter for rebalance timeout msg
2019-12-05 15:58:56 +01:00
Patrik Nordwall
143cd6fa8a
Merge pull request #28303 from scala-steward/update/sbt-paradox-akka-0.28
Update sbt-paradox-akka to 0.28
2019-12-05 15:48:47 +01:00
Patrik Nordwall
c3a362a335
Merge pull request #28312 from akka/wip-mima-filter-patriknw
mima filter for ClusterLogger, #28207
2019-12-05 14:18:55 +01:00
Patrik Nordwall
f2b78a728a mima filter for ClusterLogger, #28207
* wasn't noticed in pr validation because mima settings were wrong
2019-12-05 13:18:32 +01:00
James Roper
eb64d05b8c Manifest-less Jackson serializers, #28113 (#28299)
* This adds the ability to make Jackson serializers not output the class
  name in the manifest in cases where type information is stored in a more
  concise format in the JSON itself.

* documentation about rolling updates

* Ensure programatic bindings are search in Jackson serializer
2019-12-05 12:50:01 +01:00
Patrik Nordwall
89165badbb
Structured log events, #28207 (#28209)
* Expanding the LogMarker to optionally include Map of additional
  properties
* The name of the marker shows up as `tags` in Kibana
* The properties of the LogMarker are included as MDC entries, which
  Logstash encoder automatically understands
* Implemented with classic eventStream logging so that it can be used
  from all places without dependencies to Slf4j
  * also means that it's possible to subscribe to LogEventWithMarker
    to consume these events via the eventStream
* move marker definitions to RemoteLogMarker and ClusterLogMarker
* marker for dead letters
* marker for leader detained/allowed
* marker for member status changed
* markers for shard allocated and started
* test LogMarker with properties in Slf4jLoggerSpec
* doc note of the LogMarker definitions
2019-12-05 11:36:21 +01:00
Patrik Nordwall
2f80042cd8
Merge pull request #28029 from akka/wip-25822-again-patriknw
Add external predicate to matchEquals and matchAny in ReceiverBuilder, #25774
2019-12-05 09:22:03 +01:00
Arnout Engelen
7839649fb2 Downgrade sbt-osgi (#28302)
To fix including jdk9-only classes
2019-12-04 14:39:56 -08:00
Johannes Rudolph
d0027850e6
build: fix mima checking for Akka 2.6.0 (#28300)
Previously, due to a syntax problem, only typed artifacts were checked against
2.6.0.

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-12-04 15:40:38 +01:00
Scala Steward
8f77e6ccc3
Update sbt-paradox-akka to 0.28 2019-12-04 14:59:08 +01:00
Johan Andrén
cf0af245ef
New cluster node state diagram and other small improvements #24848 2019-12-04 12:39:31 +01:00
Robert Stoll
301be61566 [doc] do not repeat it for a better flow (#28295) 2019-12-04 08:58:41 +01:00
Robert Stoll
bb11efb354 [doc] rephrase don't model failure in protocol (#28296) 2019-12-04 08:58:10 +01:00
Xusheng Peng
7b943873fc add local affinity support for group router #28174 2019-12-03 16:34:27 +01:00
Philippus Baalman
e338a5aecd Update link to akka vavr sample project (#28284)
* Update link to akka vavr sample project
* Point link to 2.5 branch
2019-12-03 14:45:46 +01:00
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
Christopher Batey
1dc5b0a019 Avoid dead letter for rebalance timeout msg 2019-11-28 19:11:54 +00: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