Commit graph

22166 commits

Author SHA1 Message Date
promanski
05282b59c9 Handle a negative value returned by Math.abs() #25034 2018-05-05 13:49:20 +02:00
anilkumarmyla
1ca612985e Fix doc - use new markdown directive for dependency (#24811) 2018-05-01 10:25:31 +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
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
Arnout Engelen
2a7ce572d2 Stream overview anchors
So links like 'https://doc.akka.io/docs/akka/current/stream/stages-overview.html#asjavastream' should keep (somewhat) working
2018-04-23 23:25:44 +09:00
Roland Kuhn
def6faa621 proper child creation from BehaviorTestKit
- create BehaviorTestKits from StubbedActorContext
- make effest naming consistent and desugar case classes
2018-04-23 22:15:34 +09:00
Roland Kuhn
046235efbd make path of StubbedActorContext configurable 2018-04-23 22:15:34 +09:00
Arnout Engelen
4b4a012250
Merge pull request #24928 from raboof/streamReference
Move stage docs to their own files
2018-04-23 14:27:33 +02:00
Konrad Malawski
054b70c41b Move stream documentation to their own files
And generate the index
2018-04-23 13:18:25 +02:00
Luc Bourlier
7b29b08d46 Adds support for the signature directive to the paradox configuration
(copied from the akka-http configuration)
2018-04-23 13:18:25 +02:00
Arnout Engelen
d86730e001 First start of stream reference docs template 2018-04-23 13:18:23 +02:00
Patrik Nordwall
a30dd6495c Support Typed ActorSystem with Setup (#24937)
* Replaced the "advanced" factory method with BootstrapSetup
* The untyped Setup, ActorSystemSetup and BootstrapSetup are independent
  of typed/untyped so using them as is
2018-04-23 06:55:32 +01:00
Song Kun
ffd4de6913 =doc fix duplicate "." (#24947) 2018-04-23 14:53:00 +09:00
Konrad `ktoso` Malawski
5061ab7f85
fix trailing space, fixes pr validation (#24945) 2018-04-23 10:44:49 +09:00
Daniel Spaude
3d4b5a06a0 =doc Fix description of Sink.scala#foreach (#24899)
* Fix description of Sink.scala#foreach

* Fix description for Java DSL as well
2018-04-20 14:35:53 +02:00
Christopher Batey
770622bcdf Minor updates to stream ref docs 2018-04-20 03:31:58 +01:00
Patrik Nordwall
e404680ade bump Mima.latestPatchOf25 2018-04-20 03:24:10 +01:00