Commit graph

22193 commits

Author SHA1 Message Date
Johan Andrén
9b7c2a8cb4 UnfoldResourceSource closing twice on failure, #24924
* Don't write to actual disk in test

* Silence expected log errors

* Bugfix #24924 UnfoldResource closed resource twice on failure

* One more case where close would be called twice

* Toggle closed flag after operation in restartState

* open false _before_ closing in restartState
2018-05-07 17:00:46 +02:00
Patrik Nordwall
969cdb873a
Merge pull request #25020 from chbatey/upgrade-aeron
Upgrade Aeron and make use of channelStatus on subscription
2018-05-07 16:56:03 +02:00
Patrik Nordwall
178ba1f438
Merge pull request #24987 from satansk/patch-2
=doc using PatternsCS.retry in java docs
2018-05-07 16:08:06 +02:00
Konrad `ktoso` Malawski
256f81f97e
Akka Typed ask() for Akka Streams (#24892)
* +str,typ introduce akka typed ask for akka stream

address feedback and add actor interop stages incl ask to docs

more compile tests and adjusted things

last docs

* document adding stages to docs in CONTRIBUTING

* address review comments

* rebase conflicts
2018-05-07 19:23:30 +09:00
Johan Andrén
ae20ecaf99 Update paradox theme version (#25056) 2018-05-07 18:29:32 +09:00
Christopher Batey
6674599e50 Add gradle to all dependency doc sections (#25031) 2018-05-07 09:31:09 +02:00
nodefactory-bk
b62386c495 Fix for java8144+ sni changes. (#23878) 2018-05-07 11:52:45 +09:00
jorgesg1986
1b83e339f4 Removed not used UntypedPropsBehavior (#25054)
Removed unnecessary pattern matching
2018-05-07 11:15:52 +09:00
Song Kun
e8a955cdef Define ! and ? in EntityRef. ticket #24922 2018-05-04 15:17:17 +02:00
Patrik Nordwall
216025b03f
Merge pull request #25048 from chbatey/cluster-down-doc
Note what happens if a node sees its self as Down
2018-05-03 13:54:07 +02:00
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
Christopher Batey
2a88452838 Note what happens if a node sees its self as Down 2018-05-03 11:24:46 +01: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
Christopher Batey
0d9aa17fef Upgrade Aeron and make use of channelStatus on subscription 2018-04-30 14:39:06 +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
Song Kun
80e79d8393
=doc fix using PatternsCS.retry in java docs 2018-04-26 13:12:27 +08: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