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
Christopher Batey
dc6893e976
Update circuit breaker docs to only show one language's examples ( #24923 )
2018-04-19 12:01:15 +01:00
Enno Runne
316dbf536a
Bind map operation to value
2018-04-19 11:28:12 +01:00
Patrik Nordwall
59c0edb537
Merge pull request #24925 from chbatey/multi-dc-persistence-link
...
Link to multi-dc persistence
2018-04-19 09:44:11 +01:00
Christopher Batey
8ac8a4211f
Link to multi-dc persistence
2018-04-18 16:26:29 +01:00
Radhakrishnan K
9a2d7a0838
Update actors.md ( #24920 )
...
Typo
2018-04-18 15:26:05 +01:00
Justin Heyes-Jones
577b38ce7b
Fix typo in ShardRegion code
2018-04-16 15:27:21 +02:00
Richard Imaoka
c4e2951282
Remove duplicated ask section subject
2018-04-14 16:57:56 +02:00
Patrik Nordwall
1590cd40e1
Merge pull request #24882 from johanandren/wip-24609-continued-johanandren
...
#24609 continued johanandren
2018-04-12 21:41:33 +02:00
Johan Andrén
e1885093bf
Cont. fix broken explicit ask pattern for Java, #24587
...
* Some cleanup and fixes
* All 6 overloads fixed and covered with tests
* rename in some Scaladoc samples
2018-04-12 20:05:42 +02:00
Johan Andrén
093f0ef14b
Cluster receptionist and new reincarnation of node, #23683
...
* Drop anonymous functions/classes when creating testkit system name.
* Reproducer
* Added custom serializer
2018-04-12 19:00:58 +02:00
Kirill Yankov
3ebb9fa9c1
Fix serialization in TypedActor ( #24851 )
...
* fixed serialization in TypedActor
* generalized duplicates via Serialization.manifestFor
2018-04-12 18:58:13 +02:00
Heiko Seeberger
44862d13c1
Fix broken explicit ask pattern for Java ( closes #24587 )
...
Add mima filter
Cleanup mima filter
2018-04-12 18:49:31 +02:00
mucahitkantepe
e495dab941
AutoReceivedMessage with Timers bug fixed ( #24080 )
...
AutoReceivedMessage with FSM schedule bug fixed (#24080 )
Tests added for both FSM and Timers trait for (#24080 )
AutoReceivedMessage with PersistentFSM bug fixed and test added (#24080 )
2018-04-12 22:21:12 +09:00
Konrad `ktoso` Malawski
046b88ce90
+doc Add examples to Sink.actorRefWithAck ( #24854 )
2018-04-12 22:06:37 +09:00
Johan Andrén
aaea027d0e
Link to forum instead of mailing list from readme ( #24886 )
2018-04-11 19:40:43 +02:00