Commit graph

302 commits

Author SHA1 Message Date
Patrik Nordwall
c958822608
Merge pull request #30525 from Captain1653/unused-samples-references
Remove unused sample references from FlowDoc{Test|Spec} (#20450)
2021-08-18 12:48:36 +02:00
Daryl Odnert
086974b91f
Improvements to documentation on Stream-Actor interop (#30503)
* Remove unused parameter to example class AckingReceiver

* Update description of Source.actorRef to match the current API design (since 2.6.0)

* Improve the description of what happens after the Actor receives a completion request

* More accurate wording.
2021-08-12 17:12:47 +02:00
Captain1653
98c56822e3 Remove unused sample references from FlowDoc{Test|Spec} (#20450) 2021-08-11 19:29:00 +03:00
Johan Andrén
79cff55685
fix: Actually set halfClosed in half closed sample (#30404) 2021-07-19 12:22:18 +02:00
franciscolopezsancho
bfbcef13de
missing line (#30390) 2021-07-12 14:37:46 +02:00
Alex
3ae85e8cd0
Change tests to use new Source.queue api, #29801 (#30070) 2021-05-27 08:53:18 +02:00
Muskan Gupta
dd8b514e89
Add Sink.asPublisher example and update doc (#30105)
Co-authored-by: Renato Cavalcanti <renato@cavalcanti.be>
2021-05-12 21:16:41 +02:00
Tomer Shetah
82fc6c0e68
Fix Broadcast examples, as they currently fail.
Use different outputs for broadcast
2021-05-11 15:29:28 +03:00
Seeta Ramayya
174c725ef8
fixed typo (#30218) 2021-05-05 13:20:10 +02:00
franciscolopezsancho
4f278e5eaa
avoiding the superposing of the buttons and the code (#30210) 2021-05-03 10:28:31 +02:00
Sergey Morgunov
fc4e84a322
#30191 - Actualization of docs for "Resumable projections" (#30197) 2021-04-22 17:27:25 +02:00
Michael Marshall
4d9b25579d
Add GroupedWeighted FlowOp and Make Grouped use GroupedWeighted #29066 2021-01-27 18:03:30 +01:00
Patrik Nordwall
9fce9a9c33
more headers (#29953) 2021-01-15 16:11:00 +01:00
Nitika Agarwal
8361b2a1b9
Add example for mapError (#29913) 2021-01-13 08:05:47 +01:00
Nitika Agarwal
294661bde1
Add example for foldAsync (#29912) 2021-01-13 08:01:58 +01:00
Patrik Nordwall
7920694b81
Merge pull request #29867 from johanandren/wip-29858-dns-failure
Longer DNS timeout to avoiding ci fail
2021-01-13 07:50:22 +01:00
Arnout Engelen
31f654768f
Update copyright to 2021 2021-01-08 17:55:38 +01:00
Matteo Di Pirro
01e4b4de27
Operators: Add example for watchTermination (#29888) 2020-12-15 13:47:07 +01:00
Matteo Di Pirro
374d55cd34
Operators: Add example for groupBy (#29875) 2020-12-09 17:44:04 +01:00
ohze.net
9416dedad7
Use scalafix to update scala 2.13.3, silencer 1.7.0 (#29367) 2020-12-09 09:20:13 +01:00
Johan Andrén
513d6f5d06 More reasonable DNS timeout avoiding resolution fail in test #29858 2020-12-07 13:54:20 +01:00
Enno Runne
ffb21da246
Stream Testkit: new-API-friendly (#29831) 2020-12-01 12:06:09 +01:00
Nitika Agarwal
e290130386
Add examples for asInputStream and asOutputStream (#29830) 2020-11-30 10:39:14 +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
Sean Glover
779161d556 BoundedQueueSource API 2020-11-05 14:05:49 -05: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
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
r-glyde
a4acf23d05
Restart(Source|Flow|Sink): Configurable stream restart deadline (#29591) 2020-10-05 09:12:15 +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
Muskan Gupta
a12867b8b1
Docs: Reduce operator (#29641)
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-09-22 15:28:35 +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
Arnout Engelen
ca59d8149c
Enable fatal errors for docs (#29570) 2020-09-08 15:10:21 +02:00
Patrik Nordwall
a548949143
Chunked messages in reliable delivery, #24276 (#28915)
* To avoid head of line blocking from serialization and transfer of large messages
  this can be enabled.
* ProducerController setting to chunk messages
* split up large messages in chunks in ProducerController
  and assemble again in ConsumerController
* serialization moved to these actors instead of in the Artery stream
* other messages (for other actors) can interleave with the chunks
* serializer for ChunkedMessage in SequencedMessage and MessageSent
* cleanup partially stored chunked messages
* reference docs
* mima filters
* additional test for sending the Request after half window size
* enforce that chunk-large-messages=off for sharding and work-pulling
2020-09-07 14:02:52 +02:00
Ignasi Marimon-Clos
68fa87c58c
Merge pull request #29356 from ignasi35/monitor-operator-sample-code 2020-07-13 19:33:36 +02:00
Ignasi Marimon-Clos
6c12ae117a PR comments 2020-07-13 10:46:16 +02:00
James Roper
558160702b
Added MergeSequence graph stage (#29247)
Fixes #28769

Use case for this is if you have a sequence of elements that has been
partitioned across multiple streams, and you want to merge them back
together in order. It will typically be used in combination with
`zipWithIndex` to define the index for the sequence, followed by a
`Partition`, followed by the processing of different substreams with
different flows (each flow emitting exactly one output for each input),
and then merging with this stage, using the index from `zipWithIndex`.

A more concrete use case is if you're consuming messages from a message
broker, and you have a flow that you wish to apply to some messages, but
not others, you can partition the message stream according to which
should be processed by the flow and which should bypass it, and then
bring the elements back together acknowledgement. If an ordinary merge
was used rather than this, the messages that bypass the processing flow
would likely overtake the messages going through the processing flow,
and the result would be out of order offset acknowledgement which would
lead to dropping messages on failure.

I've included a minimal version of the above example in the documentation.
2020-07-09 11:52:46 -04:00
Ignasi Marimon-Clos
f187abddd1 Prefer monitoring from a separate stream (without blocking calls) 2020-07-07 17:08:11 +02:00
Ignasi Marimon-Clos
2b71abe78e Show less code. More informative comments (still hides blocking calls 2020-07-07 15:27:25 +02:00
Ignasi Marimon-Clos
024710a6e0 Headers and formats 2020-07-07 14:58:56 +02:00
Ignasi Marimon-Clos
0e3b4605ad Simplify code: instanceof, hide sleeps,... 2020-07-07 14:25:27 +02:00
Ignasi Marimon-Clos
95a000a51b Adds sample code for the monitor operator 2020-07-07 13:09:54 +02:00
Enno
7d328c9984
Docs: re-add akka.patterns page (#29024)
* Docs: re-add akka.patterns page
* Add overloads with ClassicActorSystemProvider
* docs for Java `after`
2020-07-02 10:19:11 +02:00
Christopher Batey
7dfcc0bfd0
Validate leveldb write plugin is enabled for leveldb read plugin (#29288)
* Validate leveldb write plugin is enabled for leveldb read plugin

And remove some weird overriding

* mima
2020-06-24 08:01:03 +01:00
Johan Andrén
1e9e984727
Removing, deprecating and replacing usage of black/whitelist (#29254) 2020-06-18 15:48:28 +02:00
Enno
bc68f0d650
Docs: Actor source stream operators (#29178) 2020-06-15 14:11:28 +02:00
Ignasi Marimon-Clos
4faf806266
Merge pull request #29203 from ignasi35/example-for-throttle-op 2020-06-10 17:29:40 +02:00
Enno
7e69b990b9
Docs: Discovery via DNS (#29153) 2020-06-09 17:33:52 +02:00