Commit graph

22227 commits

Author SHA1 Message Date
Patrik Nordwall
34bb7fee3c
Merge pull request #24988 from huntc/groupby-decider
Akka stream groupBy does not invoke decider
2018-05-21 11:30:57 +02:00
Patrik Nordwall
5fbf68f23d
Merge pull request #25108 from akka/wip-18785-orElse-patriknw
add Behavior.orElse, #18785
2018-05-21 11:22:36 +02:00
Vasin Ilya
7d0eed0631 Typed testkit: Adding proper NoEffects assertions (#25062)
* Adding proper NoEffects assertions
* Added NoEffects trait for expectations by type
2018-05-21 08:59:34 +01:00
Johan Andrén
eef58946d7 Less typed stop misbehavior (#25097)
* Typed stop misbehaving #25082, #25096

* Undo that "improvement" to intercept I did...
2018-05-21 07:30:40 +01:00
Stefano Bonetti
f8ed3df013 =str #25043 using materializer.executionContext in UnfoldResourceSourceAsync (#25114) 2018-05-17 20:17:33 +09:00
Johan Andrén
b27bdba13b
Do not tear down connections on IllegalArgumentException from serializer #24910 2018-05-16 15:35:05 +02:00
Nick Poorman
0181a38ebc Fix typo in reference.conf (#25106)
rasio => ratio
2018-05-16 14:37:21 +02:00
Jimin Hsieh
53c3b817f3 Bump sbt and sbt-jmh version (#25103) 2018-05-16 13:43:21 +02:00
Paulo "JCranky" Siqueira
ad2bcfefd2 change "but, " to ", but" in modules.md (#25107)
The previous version sounds really weird, and just moving `,` makes it better.
2018-05-16 10:51:12 +09:00
Patrik Nordwall
3c05d848b1 add Behavior.orElse, #18785 2018-05-15 23:54:06 +02:00
Richard Imaoka
3caddf594c Add ref directive to GraphStage in .md files (#24995) (#25102) 2018-05-16 00:33:19 +09:00
Richard Imaoka
a57235098b consistent wording; operator instead of combinator, in remaining places (#25101) 2018-05-15 15:31:11 +02:00
Oliver Heger
8eff836dd2 Fix for contradictory OSGi meta data in akka-stream #25055 2018-05-15 15:13:07 +02:00
Filip Matusak
19f23514f6 #24778 MergeLatest operator 2018-05-15 15:03:52 +02:00
Arnout Engelen
9869c2355e
Fix Java Doc test for actorRefWithAck (#25079) 2018-05-15 11:52:07 +02:00
Richard Imaoka
ea84b8d469 Add library dependency section to documentation (#25010) 2018-05-15 11:44:33 +02:00
Filip Matusak
6fed2d78ad Fail FileSubscriber's Promise if it can't open the file #24889 2018-05-15 10:23:37 +02:00
Johan Andrén
09025092ae Remove words such as simply and obviously from docs (#25095)
* One does not "simply"

* It's not obvious

* It's not really _that_ easily done

* Basically is basically a useless word

* Of course - if you already know how things work you wouldn't be reading the docs

* Clearly is maybe not so clear for everyone

* Just was just a bit harder as there are some uses that are just
2018-05-15 07:11:03 +01:00
Patrik Nordwall
da5cc33b92 Java API for AsyncSerializer, #25078 2018-05-14 18:20:59 +02:00
Stefano Bonetti
db057df5d9 =str #25091 javadsl ZipWithIndex to return java.lang.Long 2018-05-14 15:22:35 +02:00
zmarois
7591571372 Reducing log level of restarting to WARN #25019 (#25023) 2018-05-14 10:48:48 +02:00
Guy Youansi
759010f0cd +act add java.time.Duration support Actor javadsl (#24993)
* add java support in akka-actor module in the class Abstract.ActorContext by adding the setReceiveTimeout and CancelReceiveTimeout

* add akka.actor.AbstractActor#ActorContext cancelReceiveTimeout and setReceiveTimeout to mima-excludes file

* removed scala.concurrent.duration dependency in ActorDocTest and add new method expectTerminated with java.time.Duration support in TestKit

* used java.time.Duration as default import
2018-05-14 17:22:02 +09:00
Song Kun
55fb092bb2 Add convenient version of recover, recoverWith and recoverWithRetries for javadsl.Flow (#25036)
* Add more convenient version of recover, recoverWith and recoverWithRetries for javadsl.Flow.

* The new method take a Class parameter to decide which failure to recover from.
* Also add corresponding unit tests for them.

* use case expression to express partial function

* make time out larger in unit test

* checkstyle

* fix parameter type
2018-05-13 19:15:00 +02:00
Arnout Engelen
254914c1ad Update akka-paradox (#25077) 2018-05-11 10:31:33 +02:00
Michał Gutowski
b9cc7bcb7d Fix java documenation of QueueOfferResult.Dropped (#25080) 2018-05-11 10:24:50 +02:00
Patrik Nordwall
4095aa248b
Merge pull request #24884 from akka/wip-TransportFailSpec-patriknw
harden TransportFailSpec
2018-05-11 08:12:59 +02:00
Song Kun
f976f8d793 Add unit tests and polish Javadocs with lambdas for PatternsCS. #24881 (#24998)
* Add unit tests and polish Javadocs with lambdas for PatternsCS. #24881

* remove blocking from StopActor
2018-05-10 14:32:28 +02:00
Konrad `ktoso` Malawski
7fa28b3488
consistent wording; stream ops are "operators" (#25064) 2018-05-09 16:50:32 +02:00
Christopher Hunt
97297dd2d1 groupBy does not invoke decider
groupBy does not invoke a decider when the maximum number of substreams has been exceeded. This commit fixes that.
2018-05-09 11:17:54 +10:00
Patrik Nordwall
d2f2d50b6b
Merge pull request #25052 from scoquelin/await-assert-with-java-time-duration
[TestKit] Added missing awaitAssert methods with max timeout/interval as a java.time.Duration
2018-05-08 17:03:55 +02:00
Arnout Engelen
99b1b18b57 Make KillSwitch documentation more accurate (#25066) 2018-05-08 16:30:01 +02:00
Christopher Batey
69a8a77949
Remove test reliance on application.conf (#25027) 2018-05-08 10:33:36 +01:00
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
Sebastien Coquelin
e5cdf9824c Introduced new awaitAssert methods accepting java.time.Duration parameters 2018-05-07 10:47:06 -04: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