Commit graph

24439 commits

Author SHA1 Message Date
Arnout Engelen
ffe769b4df
Enable 'adapted args' warnings globally (#28391)
* Enable 'adapted args' warnings globally

* Nicer tuple notation
2019-12-17 13:31:34 +01:00
Helena Edelson
8948e4b6ce Fixing test compiler warnings. (#28388) 2019-12-17 13:31:21 +01:00
Helena Edelson
9e0fd9451c Refactor First and Join seed node processes to shared logic for dry and logic hardening (#28379) 2019-12-16 15:18:24 +01:00
Johan Andrén
4df5376dcb
Docs on fromSinkAndSource #25468 (#28349) 2019-12-16 15:01:45 +01:00
Arnout Engelen
3a35851fef
use sbt-dynver (#27042) 2019-12-16 14:33:17 +01:00
Robert Stoll
b5576870fc [doc] document TypeKey in persistence (#28369)
* [doc] document TypeKey in persistence

* [doc] document TypeKey in persistence

* [doc] document TypeKey in persistence

* [doc] update to suggestion of raboof
2019-12-16 13:49:18 +01:00
Arnout Engelen
c337bf5287 Remove use of getClass in secondary constructors (#28355)
* Remove use of getClass in secondary constructors

As this is not allowed anymore on newer versions of scala, and likely
didn't work correctly in the past either

This might make selecting unique actor system names for test
actor systems a bit less reliable, but that didn't seem to be
critical anyway.

Thanks to @som-snytt for the heads-up and initial implementation
in #28353

* Avoid AkkaSpec.getCallerName in MultiNodeClusterShardingConfig

* StreamSpec can be abstract

* Use more sophisticated test class name logic

* scalafmt
2019-12-16 13:04:09 +01:00
Johan Andrén
8a019f86a1
JFR-based remoting flight recorder #26282 2019-12-16 11:45:13 +01:00
Yaroslav Klymko
02db62bd73 #28373 Include akka-testkit into version match (#28374) 2019-12-16 11:32:03 +01:00
Scala Steward
2ab714cd71 Update sbt to 1.3.5 (#28377) 2019-12-16 10:18:59 +01:00
Helena Edelson
cb6c9dda77
Minor scaladoc fix and cleanup. (#28368) 2019-12-13 12:16:40 -08:00
Arnout Engelen
a3ca3a3fca Perform MiMa checks against 2.6.1 (#28324)
* Exclude jdk9+-specific classes from mima

as in https://github.com/akka/akka/pull/24297#issue-162564159
2019-12-13 17:05:16 +01:00
Arnout Engelen
21fbfe6724
Add checkTestsHaveRun task to check tests have run (#28350)
Extend JUnitSuite to make sure the test is included in the report.

After merging this, nothing would happen. We should then invoke
`checkTestsHaveRun` from the jenkins nightly builds. That should then
fail the build until we merge #28347 and switch the nightly builds
to run on JDK11.
2019-12-13 11:29:20 +01:00
Patrik Nordwall
7d51a8d5f9
Merge pull request #28348 from akka/wip-27189-partition-patriknw
Partition must not pull from closed in, #27189
2019-12-12 14:11:23 +01:00
Patrik Nordwall
7ddbaf3852
Merge pull request #28361 from tegonal/persistence-style-1
[doc] adjust link text to next section
2019-12-12 13:57:48 +01:00
Arnout Engelen
2a812b7dc6 stream operator docs: example above RS semantics (#28357) 2019-12-12 11:07:16 +00:00
Patrik Nordwall
d115b61821
Merge pull request #28360 from WadeWaldron/stash-docs
Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted.
2019-12-12 11:59:10 +01:00
Patrik Nordwall
0d7ad2794b
fix concurrent access to CompressionTable Object2IntHashMap (#28363)
* better initial capacity
  * small for empty
  * 2x to avoid resize
2019-12-12 10:41:22 +01:00
Robert Stoll
ded2373941 [doc] an for a better flow (#28359)
* [doc] `an` for a better flow

* [doc] fix typo `an` instead of `a`

* [doc] more `an` vs `a`

* [doc] add `a` for a better flow

* [doc] typo processes

* [doc] `in case` instead of `due to that`

* [doc] rephrase stashing discard reasons
2019-12-12 09:32:09 +01:00
Robert Stoll
569ff0495a
[doc] adjust link text to next section
and add the missing `the`
2019-12-12 06:41:26 +01:00
wadewaldron
325209b65f Adding a clarification to the Akka Classic stash documentation about what happens when an actor is restarted. 2019-12-11 15:42:30 -06:00
Michał Sieczkowski
3c1c06fb88 Fix a single grammar error in docs (#28352) 2019-12-11 07:45:13 -08:00
Patrik Nordwall
5a69d7ad1c Log non-completed rebalance at warning level (#28335) 2019-12-11 15:42:36 +01:00
Christopher Batey
17533f077c Example for intersperse (#28343) 2019-12-11 15:39:41 +01:00
Patrik Nordwall
1e67d9221e
Merge pull request #28342 from akka/wip-reference-comment-patriknw
typo in reference.conf comment
2019-12-11 12:20:13 +01:00
Patrik Nordwall
4c16857d6d
Remove allocation of Some from CompressionTable (#28330)
* JFR TLAB allocations showed that Some was allocated by the CompressionTable
  in the hot path of outbound stream
* CompressionTable.compress is called several times for each message
* This doesn't matter for the tcp transport since there are so many
  other allocations, but for aeron-udp it's nice to remove since it's
  pretty much the only allocation in the outbound stream
* equals for tests
2019-12-11 12:18:58 +01:00
Patrik Nordwall
75c5155582
remove logging of full config in ConfigDocSpec (#28314)
* changed to compile only, since it's not testing anything
2019-12-11 12:18:07 +01:00
Christopher Batey
edaea382ad Clarify typed timeout is not for akka typed (#28354) 2019-12-11 09:41:55 +01:00
Patrik Nordwall
b99db2a501 Remove wrong import from hello world doc sample, #28169 (#28345) 2019-12-11 08:00:15 +00:00
Patrik Nordwall
2a0e967be3 Supress ActorSelectionMessage with DeadLetterSuppression, #28226 (#28341)
* for example the Cluster InitJoin message is marked with DeadLetterSuppression
  but was anyway logged because sent with actorSelection
* for other WrappedMessage than ActorSelectionMessage we shouldn't unwrap and publish
  the inner in SuppressedDeadLetter because that might loose some information
* therefore those are silenced in the DeadLetterListener instead
2019-12-11 07:58:25 +00:00
Patrik Nordwall
0008f1f400 Partition must not pull from closed in, #27189 2019-12-10 17:33:11 +01:00
Patrik Nordwall
ecb87a8399 typo in reference.conf comment 2019-12-10 13:38:39 +01:00
Andrey Yamshchikov
87b94b65fd Add Java DSL Flow#mapError version without PartialFunction (#24992) (#26310)
* Add an overloaded version of the Flow#mapError (Java DSL) which does not use a Scala PartialFunction.
* Add test verifying mapError matching on parent class
* Add to Source, SubSource and SubFlow as well
2019-12-10 13:05:56 +01:00
Johan Andrén
653d05e7d6 Source.unfold examples (#28081) 2019-12-09 15:32:50 +01:00
Robert Stoll
fc48184a1e [doc] add to for a better flow (#28325)
* [doc] add `to` for a better flow

* Accidentally introduced empty line when resolving conflict
2019-12-09 11:45:03 +01:00
Brian Wignall
10e61e816f Fix typos (#28326) 2019-12-09 08:41:55 +01:00
Patrik Nordwall
be5a17aeae attempt to fix v1.class does not exist (#28309)
* sometimes I see v1.class does not exist error from incremental compiler
* could be because we have `object v1` and `trait V1` in same package
2019-12-06 16:48:05 +01:00
Robert Stoll
1062a97ee8 [doc] improve blog post actor text (#28320) 2019-12-06 16:43:50 +01:00
Robert Stoll
a5ed9ee262 [doc] add a for a better flow (#28322) 2019-12-06 16:43:17 +01:00
Robert Stoll
b706dbcbd3 [doc] add the for a better flow (#28319) 2019-12-06 16:42:48 +01:00
Johan Andrén
d344aa5112
Document JavaFlowSupport (#28315)
* Document JavaFlowSupport #23478

* Apidoc link didn't work out
2019-12-06 10:53:46 +01:00
Patrik Nordwall
517d2ae7b0 add whiteliest in serialization rolling update instruction (#28313) 2019-12-05 14:47:32 -08:00
Arnout Engelen
25ad10f893
Document asSubscriber stage (#28128)
* Unfortunately it seems the jdk9-only tests could not actually be compiled.
With these changes those can actually be compiled and ran again.

* Always link to jdk11 for java.* javadocs

* Update sbt-paradox-akka to fix linking to inner classes for javadoc
2019-12-05 16:40:05 +01:00
Patrik Nordwall
619a4494d5
Merge pull request #28308 from akka/wip-mdc-logback-config-patriknw
use %mdc logback config to output all MDC entries
2019-12-05 16:26:30 +01:00
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