Commit graph

37 commits

Author SHA1 Message Date
PJ Fanning
0dd219fab4
remove more deprecated pekko-stream methods (#1996)
* remove deprecated setup methods

* remove deprecated lazyInit methods

* more deprecated methods

* Update SubFlow.scala

* scalafmt

* Update SubFlow.scala

* subflow/subsource

* Update DslFactoriesConsistencySpec.scala

* remove docs for removed operators
2025-08-03 10:55:37 +01:00
scala-steward-asf[bot]
fa1351b213 Reformat with scalafmt 3.8.2
Executed command: scalafmt --non-interactive
2024-06-16 07:56:40 +01:00
He-Pin
447728f3c0 feat: Add flatten operator. 2024-01-14 20:24:06 +08:00
kerr
72f0a426b8
feat: Add support for for comprehensions. (#935) 2024-01-14 00:39:44 +08:00
PJ Fanning
b0fdac259b
adjust ASF header (#450) 2023-06-22 14:19:26 +01:00
He-Pin
4ac0f00a47 Update headers with The Apache header annotated. 2023-01-12 10:59:28 +08:00
Matthew de Detrich
24c03cde19
Rename sbt akka modules
Co-authored-by: Sean Glover <sean@seanglover.com>
2023-01-05 11:10:50 +01:00
Matthew de Detrich
f84e8db3cb Rename akka package to org.apache.pekko 2022-11-30 16:45:15 +01:00
Auto Format
15b163da74 format source with scalafmt, #2 2022-11-05 15:01:03 +01:00
kerr
dc480ac9da
=sbt Fix StreamOperatorsIndexGenerator on Windows (#31347) 2022-04-19 14:31:20 +02:00
kerr
db3b283034
+str Add Flow#preMaterialize. (#31190) 2022-04-01 10:05:52 +02:00
Renato Cavalcanti
7abc41cf4e
update copyright year to 2022 (#31057) 2022-02-04 12:36:44 +01:00
Johan Andrén
b9a1a66058
Convenience stream operators for publishing and subscribing to typed pub sub #31037 2022-01-12 16:12:15 +01:00
Arnout Engelen
31f654768f
Update copyright to 2021 2021-01-08 17:55:38 +01: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
0c88b4ba10
Adds skeleton pages for gunzip and inflate. (#29214) 2020-06-10 09:51:11 +02:00
Enno
bb4940b027
Docs: sort all operators by method name in left-hand menu (#28900) 2020-04-28 16:58:00 +02:00
Arnout Engelen
dba69dba1d
Add docs and examples for RS fromPublisher #25468 2020-03-11 15:56:59 +01:00
Ignasi Marimon-Clos
b5ddc2f224
Adds gzip and deflate to the operator list (#28644) 2020-02-26 13:50:43 +01:00
Arnout Engelen
9b9972a854
Remove deprecated actorRefWithAck from 'pending' lists (#28337)
As we don't plan to document this one anymore, so it's already
ignored in the 'ignore' list
2020-01-15 16:40:06 +01:00
Helena Edelson
6bf20f4117 Update all copyright headers to 2020 after new year's #27881 (#28434) 2020-01-02 13:24:59 +01:00
Fabio Tiriticco
041b6243a5 Add docs for stream operator Sink.collection (#28210) 2019-11-21 14:29:20 +01:00
Enno
70c3cdfa97
RetryFlow: retries of individual stream elements with backouff (#27742)
RetryFlow wraps a flow with context and allows to individually retry elements. A decider function decides if another try should be made and gives the element to try with.
Retries are backed off exponentially.
Retries are limited by maxRetries.

Inspired by the work of Gilad Hoch <gilad.hoch@thomsonreuters.com> and Martynas Mickevičius <self@2m.lt>
2019-10-15 18:41:30 +02:00
Helena Edelson
023b379e3c
Migrate streams doc under typed to operators (#27901) 2019-10-04 10:37:56 -07:00
Nicolas Vollmar
751918e84c Deprecates status message based api #27503 (#27519)
* Deprecates status message based api #27503
* Deprecates actorRefWithAck for actorRefWithBackpressure
2019-09-10 11:59:19 +02:00
Arnout Engelen
362d734444
Merge Source.apply and Source.from docs (#606) 2019-06-03 16:41:44 +02:00
Arnout Engelen
eca459e461 Include fan-out operators in the operator index (#27028) 2019-05-31 12:56:25 +02:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
kerr
bdc90052aa Update headers from 2018 to 2019 once for all. (#26165)
* Add CopyrightHeader support for sbt-boilerplate plugin.
* Add CopyrightHeader support for `*.proto` files.
* Add regex match for both `–` and `-` for CopyrightHeader.
* Add CopyrightHeader support for sbt build files.
* Update copyright from 2018 to 2019.
2019-01-02 11:55:26 +01:00
Arnout Engelen
4b012cc306 Document 'withBackoff' srouce/flow/sink (#25770) 2018-10-15 17:11:33 +01:00
Tzu-Chiao Yeh
f06595dd5d Add and reuse example for FileIO stream operator. (#25660) 2018-09-24 17:50:27 +02:00
Richard Imaoka
a17a61557c doc Replace the word stage by operator in stream doc (#25138) 2018-05-29 10:00:48 +02:00
Richard Imaoka
984c081757 Replace processing stage with operator 2018-05-19 16:36:42 +09: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
Richard Imaoka
cd3c4af8a5 Fix def getDetails in StreamOperatorsIndexGenerator for paradox on Windows (#25006)
* def getDetails in StreamOperatorsIndexGenerator to work on Windows (#25004)

* remove //line comments
2018-04-29 17:20:36 +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
Konrad Malawski
054b70c41b Move stream documentation to their own files
And generate the index
2018-04-23 13:18:25 +02:00