Commit graph

1642 commits

Author SHA1 Message Date
Josep Prat
388fb73beb
Add how to compose Partial Behaviors #29832 (#29853)
* Add how to compose Partial Behaviors #29832

Refs: #29832

Adds 2 examples on how to compose partial behaviors:
- Using `receivePartial`
- Using `PartialFunction`

Examples are rewritten to follow the main one in the page.
Instead of composing through Functions of
`Command => Behavior[Command]` I decided to
use `Behaviors.receivePartial` as it seems more idiomatic.

Adds docs for both examples under the style guide page.

* Remove potentially dangerous `receivePartial` composition

Example now only showcases `PartialFunction` composition

* Remove unused import

* Streamline example
2020-12-08 13:05:24 +01:00
Johan Andrén
513d6f5d06 More reasonable DNS timeout avoiding resolution fail in test #29858 2020-12-07 13:54:20 +01:00
Josep Prat
2c659a046e
Refactor example to make it easier to copy-paste #29578 (#29860)
* Refactor example to make it clear #29578

Restructure example

* Fix formatting

* Right formatting to disable format checker
2020-12-07 09:47:18 +01:00
Josep Prat
12513ec7df
Normalize Event Sourcing wording #29577 (#29856) 2020-12-07 08:41:43 +01:00
Enno Runne
d6d3da82a0 docs: show BOM include in all dependency listings 2020-12-04 13:26:42 +01:00
Robert Walker
8b71fac817
Fixed a formatting issue, the '@scala[]' marker, does not seem to handle CRLF (#29857) 2020-12-04 10:27:48 +01:00
Enno Runne
ffb21da246
Stream Testkit: new-API-friendly (#29831) 2020-12-01 12:06:09 +01:00
Patrik Nordwall
5db6a3a491
links to platform guide (#29846) 2020-11-30 20:00:39 +01:00
Nitika Agarwal
e290130386
Add examples for asInputStream and asOutputStream (#29830) 2020-11-30 10:39:14 +01:00
Jesse
ae22f114b2
Update persistence.md (#29844)
Fix typo, although I'm in support of adding 'commandler' to the dictionary.
2020-11-30 09:30:21 +01:00
Renato Cavalcanti
485e21c9a8
fixed typo: wort -> worth [ci skip] (#29840) 2020-11-25 16:44:19 +01:00
Enno Runne
459e74b921
Operator docs: examples for asSource/FlowWithContext (#29822)
* Operator docs: examples for asSource/FlowWithContext

* javafmtAll

* Try to capture the essence better

* Update index

* Include the test use in the snippets
2020-11-25 12:21:16 +01:00
Enno Runne
d253c6402d
Docs: use RestartSettings (#29788) 2020-11-16 08:24:56 +00:00
Enno Runne
a57742f31b
Docs: link to videos (#29799) 2020-11-09 11:36:39 +01:00
Ignasi Marimon-Clos
bcee56f4b9
Review writeup for RES direct deplication in docs (#29796) 2020-11-06 16:09:42 +01:00
Johan Andrén
2b8d0b2285
BoundedSourceQueue API #29574
A new queue implementation that drops new elements immediately when the buffer is full. Does not use async callbacks like Source.queue with OverflowStrategy.dropNew, which can still result in OOM errors (#25798).
2020-11-06 09:00:15 +01:00
Sean Glover
779161d556 BoundedQueueSource API 2020-11-05 14:05:49 -05:00
Josep Prat
629759b72b
Add limitation about supervision in sync Testkit #29767 (#29778)
Refs: #29767
Currently, sync Testkit doesn't support supervision as it often involves async interactions.
2020-11-02 09:23:50 +01:00
Patrik Nordwall
8d25ca2012
simplify the stopping example, #28144 (#29760)
* need for the callback variant should be a rare so we should not
  confuse the users with it in this example
* mention of callback in api docs should be enough
2020-10-27 17:27:43 +01:00
Peter Vlugter
1581696f59
Fix typo in docs for cluster sharding rolling updates (#29771) 2020-10-22 12:37:01 +02:00
Christopher Batey
ee74c541d1
Dont rely on DNS for a doc spec (#29762) 2020-10-21 10:15:36 +02:00
Muskan Gupta
b705ded314
Improving docs- removing redundant phrases (#29744)
* Improving docs- removing redundant phrases

* Apply suggestions from code review

Co-authored-by: Arnout Engelen <github@bzzt.net>

* Making changes to improve docs

Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-10-21 09:27:31 +02:00
Muskan Gupta
432d94d5a4
Adding example of cancelled operator (#29749)
Co-authored-by: Arnout Engelen <github@bzzt.net>
Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2020-10-20 13:43:26 +02:00
Patrik Nordwall
9c200e3a04
show package name in getting started examples, #28432 (#29757)
* at least the first few examples
2020-10-19 15:45:16 +02:00
Jabir S. Minjibir
c71b40d05f Update cluster.md
Fixed a simple typo

(cherry picked from commit d357edccd1b2f0ecdb2445396da9a571fe883a50)
2020-10-19 11:35:33 +02:00
Arnout Engelen
568833543c
Link FAQ to community and support pages (#29752) 2020-10-16 15:49:32 +02:00
Adrian
ec7e8aaeda
Fix typo (#29741) 2020-10-13 09:35:37 +02:00
Raúl García Calvo
41e7bb27ba
Fix typo (#29733) 2020-10-12 15:38:50 +02:00
Muskan Gupta
0e0680bd82
Adding example for collection operator (#29716)
* Adding example for collection operator

* Modifying example

* Add parenthesises to side effect only method

Co-authored-by: Johan Andrén <johan@markatta.com>
2020-10-12 11:08:57 +02:00
Muskan Gupta
1ff619259f
Adding example of headOption operator (#29717)
Co-authored-by: Johan Andrén <johan@markatta.com>
2020-10-12 09:27:46 +02:00
Patrik Nordwall
fb1c6ff253
exit-jvm config in docs (#29722) 2020-10-10 13:05:34 +02:00
Edward Samson
7c9eed6d8b
Grammar fix (#29723) 2020-10-10 13:04:57 +02:00
Matt Kohl
49f721d84d
Typo / grammatical fixes (#29715)
* Typo & grammatical fixes

* Grammatical fix

* Grammatical fix

* More grammatical fixes
2020-10-09 17:10:44 +02:00
Patrik Nordwall
3a7c02014b log-frame-size-exceeding for Artery, #29683 2020-10-05 14:07:26 +02:00
Stefano Baghino
190d2b6a62
shutdown it down -> shut it down (#29686) 2020-10-05 09:18:25 +02:00
r-glyde
a4acf23d05
Restart(Source|Flow|Sink): Configurable stream restart deadline (#29591) 2020-10-05 09:12:15 +02:00
Muskan Gupta
4cc3c58a08
Making docs better (#29623)
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-10-02 16:30:05 +02:00
Patrik Nordwall
90b79144e5
Documentation for Sharding rolling update (#29666) 2020-09-30 12:31:03 +02:00
Muskan Gupta
94d62f34c1
Add completion timeout example (#29673)
* Adding example for completionTimeout

* Adding header to file

* Modifying example

* Modifying duration

* Modifying syntax for duration
2020-09-29 15:47:36 +02:00
Renato Cavalcanti
294c534d15
Fix links to Microsoft CQRS and ES reference (#29596) 2020-09-29 08:35:53 +02:00
Christopher Batey
91398cdcdd
Cluster sharding health check (#29638)
* and update akka-docs/src/main/paradox/typed/cluster-sharding.md
2020-09-25 12:55:29 +02:00
Patrik Nordwall
d7441fd93c
Merge pull request #29595 from YikSanChan/patch-14
Fix grammar
2020-09-24 12:53:04 +02:00
Arnout Engelen
48a7306109
Fix documentation version warning for 'series' page (#29647) 2020-09-22 19:50:26 +02:00
Muskan Gupta
a12867b8b1
Docs: Reduce operator (#29641)
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-09-22 15:28:35 +02:00
Christopher Batey
306cf65863
Docs for which versions support RES (#29642) 2020-09-22 12:24:50 +02:00
Muskan Gupta
ac648a5940
Adding example of fold for sink #25468 2020-09-21 18:01:14 +02:00
Ignasi Marimon-Clos
ffc4235980
Adds mapAsync(Unordered) operator samples (#29600) 2020-09-16 12:24:49 +02:00
yiksanchan
c67251ff4d
Fix markdown link with brackets (#29594) 2020-09-14 16:26:34 +02:00
yiksanchan
10641df346
Fix grammar (#29593) 2020-09-14 16:25:33 +02:00
yiksanchan
2ecad79627
Fix grammar 2020-09-13 18:31:53 -07:00