Commit graph

1481 commits

Author SHA1 Message Date
Richard Imaoka
9784f65ced Replace graph stage with operator 2018-05-19 16:36:04 +09: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
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
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
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
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
Konrad `ktoso` Malawski
7fa28b3488
consistent wording; stream ops are "operators" (#25064) 2018-05-09 16:50:32 +02:00
Arnout Engelen
99b1b18b57 Make KillSwitch documentation more accurate (#25066) 2018-05-08 16:30:01 +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
Christopher Batey
6674599e50 Add gradle to all dependency doc sections (#25031) 2018-05-07 09:31:09 +02:00
promanski
05282b59c9 Handle a negative value returned by Math.abs() #25034 2018-05-05 13:49:20 +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
Christopher Batey
2a88452838 Note what happens if a node sees its self as Down 2018-05-03 11:24:46 +01: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
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
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
Konrad `ktoso` Malawski
d870d37bb3 =doc missing ACK reply in doc example (#24997) 2018-04-30 14:12:04 +02:00
Christopher Batey
ed06f7ad2f =doc Note that Aeron is only supported on Linux, Windows and Mac 2018-04-30 11:13:58 +01: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
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
Song Kun
80e79d8393
=doc fix using PatternsCS.retry in java docs 2018-04-26 13:12:27 +08:00
kkolman
9f7962a8c2 =doc make akka.paterns,PatternCS imports explicit in gracefulStop docs #24912 (#24913) 2018-04-25 02:12:34 +09:00
Christopher Batey
b6a27deaea Fix snippets in typed cluster docs 2018-04-24 01:38:53 +09: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
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
Song Kun
ffd4de6913 =doc fix duplicate "." (#24947) 2018-04-23 14:53:00 +09:00
Christopher Batey
770622bcdf Minor updates to stream ref docs 2018-04-20 03:31:58 +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
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
Richard Imaoka
c4e2951282 Remove duplicated ask section subject 2018-04-14 16:57:56 +02:00
Konrad `ktoso` Malawski
046b88ce90
+doc Add examples to Sink.actorRefWithAck (#24854) 2018-04-12 22:06:37 +09:00
Patrik Nordwall
6a9fa1946d
Add java.time.Duration support in the JavaDSL in akka-actor module #24646 (#24883)
* Add java.time.Duration support in the JavaDSL in akka-actor module #24646
* add deprecation and change retry
2018-04-11 16:47:36 +02:00
Johan Andrén
07b56e550f Add some cross linking with Play and Lagom (#24844) 2018-04-11 13:34:13 +02:00
Hawstein
ecdaf0e530 add eagerCancel to Partition and Balance stage (#22339)
* add eagerCancel to Partition and Balance stage

* fix mima error

* rebase master and add unit test

* add java support and since to deprecated
2018-04-10 01:46:39 +09:00
Justin Pihony
dd884117c1 Remove explicit outlet selector from graph docs (#24852) 2018-04-06 15:11:24 +09:00
Konrad `ktoso` Malawski
546cf15234
add weakly up to leader actions list (#24849)
* add weakly up to leader actions list

* Update cluster.md
2018-04-06 00:04:24 +09:00
Patrik Nordwall
6f330ef69c automatic throttle burst size, #24699 (#24784)
* automatic throttle burst size, #24699

* throttleEven used maxBurst=Int.MaxValue, which in practise resulted
  in no throttling at all at high rates
* The original problem that throttleEven tried to solve was that when
  the throttle rate (cost / per) was high the cost of scheduling
  dominated and became much lower than the given rate, if 0 or low
  maxBurst was given. Difficult for user to know what maxBurst to use.
* In fact, that was already the case for rates > 30/s.
* This is fixed by automatically adjusting the maxBurst for higher
  throttle rates in a new throttle overload that doesn't include
  maxBurst parameter
* Also skipped the mode parameter for that variant since Shaping is
  what almost always is what you want, and otherwise you can use
  the full signature with a good maxBurst
* Deprecated throttleEven, since it is the same. Also fixed the
  implementation of throttleEven to use the automatic burst size,
  since Int.MaxValue is not useful at all.
2018-04-02 15:07:16 +01:00
Patrik Nordwall
054573e7e1 better Typed HelloWorld, #24491
* single actor hello world is too unrealistic and
  shows the wrong things
* although this is longer I think it's better

java and feedback
2018-03-27 16:50:52 +02:00