Commit graph

957 commits

Author SHA1 Message Date
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
mikolak-net
00068e2d1d Extrapolate stage and expand redoc #23804 2018-03-27 10:39:25 +02:00
Arnout Engelen
691254b1a7 Consolidate docs on disabling Java serialization (#24790)
Was duplicated across Artery and classic remoting, moved it to serialization.
2018-03-27 11:12:10 +09:00
Gergő Törcsvári
67a81eb01b GraphDSL create with Seq[Graph] added #24067 2018-03-26 17:41:54 +02:00
Daniel Kalman
86e44167f3 Added retry pattern #22276 (#23997) 2018-03-26 13:56:20 +02:00
Prada Souvanlasy
46c662965f fix #23618 : Support for persistence dynamic configuration at runtime (#23841) 2018-03-26 13:52:31 +02:00
Konrad `ktoso` Malawski
d503cb0da3
Add delivery semantics notes to stream refs (#24777) 2018-03-24 10:45:43 +09:00
Gergő Törcsvári
ea9b7c9971 [docs] added notes where the code was unclear for beginners (#24757)
* [docs] added notes where the code was unclear for beginners

* Update stream-graphs.md
2018-03-22 13:03:04 +09:00
Patrik Nordwall
11f2ef5784
Merge pull request #24508 from psliwa/patch-1-defer-method
Adding defer method to PersistentActor
2018-03-21 13:41:51 +01:00
Patrik Nordwall
b34c38e37e
Merge pull request #24755 from hepin1989/javadocs
=doc using java.time.Duration for stream's javadsl
2018-03-21 13:36:14 +01:00
虎鸣
c354aa0b6a =doc using java.time.Duration for stream's javadsl 2018-03-21 11:29:11 +08:00
虎鸣
e45a638ce0 + testkit Add java.time.Duration to testkit's javadsl 2018-03-20 22:39:30 +08:00
Konrad `ktoso` Malawski
b3fbf6869b
=typ #24683 Behaviors receive, receiveMessage, receivePartial, receiveMessagePartial (#24718)
* wip

* =typ #24683 Behaviors receive, receiveMessage, receivePartial,
receiveMessagePartial

* move MutableBehavior out as separate file

* receive, receiveSignal

* missing copy

* final cleanup

* cleanup, formatting
2018-03-20 00:20:13 +09:00
Konrad `ktoso` Malawski
6656b3c869
improve docs and test style of lazyInitAsync (#24754) 2018-03-20 00:04:34 +09:00
Christopher Batey
a0ebeb09e7 =doc Note Source.queue backpressure behavior on stream integration page (#24746) 2018-03-19 16:54:33 +09:00
kerr
8245c55bc9 + str Add java.time.Duration to TimerGraphStageLogic. (#24712) 2018-03-19 14:04:44 +09:00
Yoshimasa Tanabe
a878e6c9fa Adding explanation for Java DSL TestKit#awaitAssert return value (#24110) (#24737) 2018-03-16 11:41:18 +01:00
Johan Andrén
d8b9bb1b3a
Java Flow dsl lower bounds incorrect #24368 2018-03-15 14:53:50 +01:00
Johan Andrén
38c0bbef7c
Split up receptionist implementations #24615 2018-03-15 12:16:04 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Wade Waldron
95afa04a7a Adding additional details to the auto-downing section of the documentation to indicate the consequences of using it (#24697)
* Adding additional details to the auto-downing section of the documentation to indicate the consequences of using it

* Slight rewording based on PR feedback.
2018-03-13 15:31:23 +01:00
Arnout Engelen
ab701e98be Remove default parameters in doc journal (#24704)
* Remove default parameters in doc journal

Making sure the examples are explicit about them

* Don't rely on default parameters in docs

As those default parameters might not be present for all implementations

* remove unrelated changes from PR

* Update BehaviorTestKitSpec.scala
2018-03-13 13:26:35 +09:00
Konrad `ktoso` Malawski
ff5ee68e72
=doc #24688 link to akka cluster bootstrap in docs (#24693)
* =doc #24688 link to akka cluster bootstrap in docs

* amend
2018-03-13 08:40:49 +09:00
Konrad Malawski
70e225b734 =per native typed implementation of Eventsourced=>PersistendBehavior
timeout is explicitly a message of Command

persitAll and chainable side effects work well

more tests pasing

additional sanity check that mutable behaviors work as expected

unstashing needs to "loop through" the AdapterActor otherwise Stopped
won't work

solve unstashing/stop issue, by not randomly init()ing, but unstashing

snapshotting works

all tests green

rebased

nicer log source

remove IncomingCommand wrapper, we dont need it

no need for shared counter

remove not needed methods and state

more state cleanup, using Behaviors.same

reminder that we DO need that same alias, since stash does not work with
the Behavior.same

introduce config for stash buffer

stopping now works after persisting

compile fix

cleanup

reduced number of adapter styles needed for co-existence of persistence

final cleanup done, less passing around 40 objects, carriers provided
now
2018-03-13 00:40:13 +09:00
zodiake
1a63aa8637 Update PersistenceQueryDocSpec.scala (#24405) 2018-03-12 11:59:56 +01:00