Commit graph

22180 commits

Author SHA1 Message Date
Oleksii Tkachuk
8af12295eb Issue 24687: Transfer of PerformanceSpec 2018-05-03 13:30:00 +02:00
Johan Andrén
dfd8d8aa81
Additional tests for async boundaries and GroupBy #24676 2018-05-03 13:24:51 +02:00
Patrik Nordwall
d08f31bcdb
Merge pull request #24984 from markusthoemmes/allow-groupby-substream-recreate
Allow `groupBy` to recreate already closed substreams #24758
2018-05-03 12:28:19 +02:00
Patrik Nordwall
74eb7999d8
Merge pull request #24958 from akka/wip-typed-extension-setup-patriknw
Possibility to replace Typed extensions via ActorSystemSetup, #24954
2018-05-03 11:04:32 +02:00
Markus Thömmes
35e53f570c Allow groupBy to recreate already closed substreams #24758
`groupBy`'s default behavior is to filter elements, that would go to a substream
that is already closed. This allows `groupBy` to recreate those already closed streams,
if wanted, and run them as if they would've never run before in the first place.

Overload instead of default parameter

Make set of closed keys unmodifiable if not needed

Adjust documentation, adding a warning on memory consumption.

Add MiMa exclude.
2018-05-03 10:54:11 +02:00
Reza Rasouli
89b3820673 Documentation of wrapping PersistentBehavior in typed actor persistence #24679 (#24942)
* Documented wrapping PersistentBehavior in typed actors persistence documentation #24679

* Removed "Current Limitations" section
* Added description on wrapping PersistentBehavior
* Added Scala and Java example for the pattern

* updated persistence docs for the hinted changes

* added  missing "the" as requested in the  hint
2018-05-03 10:20:37 +02:00
Patrik Nordwall
1d3ce1734b
First JCTools mailbox benchmark, #25044 2018-05-03 10:16:56 +02:00
Viktor Klang
3ee28a2e43 prove that it is possible to integrate JCTools for mailboxes
* enable JCToolsMailbox in benchmarks
2018-05-02 20:48:11 +02:00
Patrik Nordwall
948017544c
Merge pull request #25017 from chbatey/issue-24636
Note that Aeron is only supported on Linux, Windows and Mac
2018-05-02 20:20:01 +02:00
Arnout Engelen
1fdf35b754
Add scaladex badge with the latest version (#25032) 2018-05-02 17:26:03 +02:00
Patrik Nordwall
e10f30d252
Merge pull request #25029 from chbatey/issue-25028
Disable TlsTcpWithActorSystemSetupSpec when not running tcp-tls tests
2018-05-02 15:35:40 +02:00
Dan Rivett
1cb1b68a11 Fixing documentation typo: loosing -> losing (#25037) 2018-05-02 07:11:52 +01:00
anilkumarmyla
1ca612985e Fix doc - use new markdown directive for dependency (#24811) 2018-05-01 10:25:31 +01:00
Christopher Batey
c0f18c96d3 Disable TlsTcpWithActorSystemSetupSpec when not running tcp-tls tests 2018-05-01 09:49:51 +01:00
Christopher Batey
945440a38d
Revert "Look for perf-java-flames on path in MultiJVM perf support" (#25022)
* Revert "Look for perf-java-flames on path in MultiJVM perf support (#25003)"

This reverts commit 3e11092388.
2018-04-30 14:58:33 +01:00
Konrad `ktoso` Malawski
d870d37bb3 =doc missing ACK reply in doc example (#24997) 2018-04-30 14:12:04 +02:00
Christopher Batey
3e11092388
Look for perf-java-flames on path in MultiJVM perf support (#25003) 2018-04-30 11:17:48 +01:00
Christopher Batey
ed06f7ad2f =doc Note that Aeron is only supported on Linux, Windows and Mac 2018-04-30 11:13:58 +01:00
Christopher Batey
188b74a013 Remove application.conf from typed test projects (#25015)
It breaks assembly for multi-jvm jobs. Only needs to be in
the tests project.
2018-04-30 10:58:35 +02:00
Song Kun
94f4905440 =doc fix the dead link for Failure Detector (#25002)
The link for The Phi Accrual Failure Detector is unavaliable.
2018-04-30 10:44:56 +02:00
Patrik Nordwall
27e9587a3b Configurable SSLEngineProvider in classic remoting, #23732 2018-04-30 10:24:34 +02:00
Richard Imaoka
e343222505 Sample code for joinSeedNodes programatically #24041 2018-04-30 10:21:35 +02:00
Christopher Batey
a9be6ea1d2 Remove erroneous in distributed data doc (#24999) 2018-04-30 09:59:13 +02:00
Christopher Batey
96b285edd4 Upgrade to Scala 2.12.6 (#25001) 2018-04-30 09:49:50 +02:00
Roland Kuhn
0dab3eba92 add BehaviorTestKit.runOne and .ref (#25013) 2018-04-30 09:17:12 +02:00
Dmitry
8cdb3feb99 Use 'same thread' execution context in UnfoldResourceSourceAsync (#24911) 2018-04-30 11:32:05 +09:00
Martynas Mickevičius
ef47004c71 Clarify in Scaladoc that failed sinks are removed (#21693) (#24890) 2018-04-29 10:39:48 +01:00
Richard Imaoka
cd3c4af8a5 Fix def getDetails in StreamOperatorsIndexGenerator for paradox on Windows (#25006)
* def getDetails in StreamOperatorsIndexGenerator to work on Windows (#25004)

* remove //line comments
2018-04-29 17:20:36 +09:00
Christopher Batey
23373565db
Fix typed cluster singleton cross dc proxies (#24936)
* Fix typed cluster singleton cross dc proxies
* Adds first multi-jvm test for typed cluster
2018-04-27 12:44:44 +01:00
Christopher Batey
82e2e2c551
RestartWithBackOff delay cancel to wait for failure (#24795)
* RestartWithBackOff delay cancel to wait for failure

For wrapping a user flow with FlowRestart.onFlowWithFailures when the user
flow it fails signals a cancel upstream and a failure downstream.

These are intercepted by a SubSource/SubSink. In the case
the SubSource receives the cancel before the SubSink receives
the real upstream is wrongly canceled leading to an error
when the SubSink restarts the flow.

This commit introduces a delay for the cancel so that the failure
is more likely to win.

Would be far better to propagate a reason for cancel so this could
be deterministic. See https://github.com/akka/akka/pull/23909

Refs #24528 #24726
2018-04-27 12:09:16 +01:00
Konrad `ktoso` Malawski
ca2fe92f0d =str clarify invocation semantics of wireTap, make test less flaky #24979 2018-04-26 14:56:58 +01:00
Christopher Batey
9051e2fcda Allow reuse of journal loading logic (#24990)
* Allow reuse of journal loading logic

Probably can be generialised even more. At present i've tested this with
the akka persistence updater extension.

* Make the implicit explicit

* Added mima filter for removing internal class

* Review feedback
2018-04-26 22:00:15 +09:00
Christopher Batey
90c2ce9f13
Async serializer marker trait (#24981)
This adds the possibility for akka persistence plugins to check
whether a serializer is asynchronous.

Not used for remoting.
2018-04-25 13:43:54 +01:00
Konrad `ktoso` Malawski
cceb184098 =str javadoc rewording on new wireTap method 2018-04-25 12:44:47 +09:00
Konrad `ktoso` Malawski
5f5b41f3b8 =str #24934 sub timeout must be cancelled when streams establish conn 2018-04-25 12:44:14 +09:00
svozniuk
0dd63837b6 str #24934 - fix stream reference timeout
str #24934 - Change in error message -> change the value expected in test
2018-04-25 12:44:14 +09:00
kkolman
9f7962a8c2 =doc make akka.paterns,PatternCS imports explicit in gracefulStop docs #24912 (#24913) 2018-04-25 02:12:34 +09:00
Konrad `ktoso` Malawski
11a397d9c5
+str add in-line wireTap operator for sideeffecting (#24610) 2018-04-25 01:02:31 +09:00
Christopher Batey
a3e52078df Enable header plugin for the MultiJVM configuration (#24974)
Seems when did the changes for 2018 it intro introduced a space in all
after, hence so many changes.
2018-04-25 00:03:55 +09:00
Konrad `ktoso` Malawski
6ea20109a1
update scala version for travis 2018-04-24 22:59:47 +09:00
Konrad `ktoso` Malawski
0f676cb6f1
use travis for mima and whitesource, remain no jenkins for tests (in parallel) (#24968)
* travis config from akka-http

* amend CONTRIBUTING to explain our tests

* amend wording in CONTRIBUTING

* new whitesource key

* remove instead of comment deployment things

* Update CONTRIBUTING.md

* exclude new module in 2.5 from appearing in 2.4 previous mima artifacts

* fix mima on 2.12
2018-04-24 22:58:54 +09:00
Thomas Smith
80eff85527 Add tests for BoundedBlockingQueue (#24850) 2018-04-24 14:30:34 +02:00
Patrik Nordwall
fad74150ee
Merge pull request #24963 from chbatey/reduce-jenkins-logs
Reduce size of jenkins logs
2018-04-24 14:19:09 +02:00
Christopher Batey
161d2de44a Harden ClusterClientHandoverSpec #24959
The test failed timing out waiting for a cluster to remove a member. It
was nearly done. This change uses the common configuration used for
cluster tests to speed up membership changes rather than increasing the
timeout.
2018-04-24 12:26:37 +01:00
Christopher Batey
59ed3b353f Harden StreamTestKitSpec #24956 2018-04-24 12:24:53 +01:00
Christopher Batey
4d20b2a660 Reduce size of jenkins logs
Each build is now over 40mb logs.

A lot of DEBUG logging was left on for test failures that have been
fixed. Added an issue # for ones that are still valid or if if it on
as the test verifies debug
2018-04-24 08:49:41 +01:00
Christopher Batey
b6a27deaea Fix snippets in typed cluster docs 2018-04-24 01:38:53 +09:00
Patrik Nordwall
3809fac7d7
Merge pull request #24961 from chbatey/issue-24915
Add classtag to tap/monitor for interception
2018-04-23 17:34:09 +01:00
Christopher Batey
ea23b6ee18 Add classtag to tap/monitor for interception
Interception handles a message that is of the incorrect type as a result
of widening however tap/monitor passed Any as the classtag.
2018-04-23 16:47:56 +01:00
László van den Hoek
cc3fba7b67 fix contramap documentation typo (#24950)
`Sink.contramap(f)` simply applies a function and then materializes using the original sink. It would seem very odd if backpressure would cause the Flow to cancel...
2018-04-23 16:33:48 +01:00