Commit graph

158 commits

Author SHA1 Message Date
Christopher Batey
a8086e86e5 Operator doc for flatmap merge (#28488) 2020-01-15 13:20:41 +01:00
Johan Andrén
3ca7cb0f94
Examples for the sliding operator #25468 2020-01-14 16:03:11 +01:00
Patrik Nordwall
ab2300c4cb doc: example for splitWhen and splitAfter, #25468 (#28480)
* doc: example for splitWhen and splitAfter, #25468
2020-01-14 10:17:20 +00:00
Johan Andrén
589c6511bd
Limit and LimitWeighted operator docs #25468 2020-01-08 16:26:51 +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
Brian Wignall
fd41299943 Fix typos, via a Levenshtein-style corrector 2019-12-19 01:57:55 -05:00
Johan Andrén
4df5376dcb
Docs on fromSinkAndSource #25468 (#28349) 2019-12-16 15:01:45 +01:00
Christopher Batey
17533f077c Example for intersperse (#28343) 2019-12-11 15:39:41 +01:00
Johan Andrén
653d05e7d6 Source.unfold examples (#28081) 2019-12-09 15:32:50 +01:00
Johan Andrén
d344aa5112
Document JavaFlowSupport (#28315)
* Document JavaFlowSupport #23478

* Apidoc link didn't work out
2019-12-06 10:53:46 +01:00
Christopher Batey
8027f2123b Example for mapConcat (#28243)
* Example for mapConcat
2019-11-26 19:39:42 +01:00
Christopher Batey
f2f3f64f21 Example for unfoldResourceAsync (#28080)
* Example for unfoldResourceAsync

Co-Authored-By: Enno <458526+ennru@users.noreply.github.com>
2019-11-26 18:38:23 +01:00
Patrik Nordwall
5f21c2264b doc: filter and filterNot streams operator, #25468 2019-11-26 15:54:42 +01:00
Patrik Nordwall
38d41e11fb doc: Partition Streams operator, #25468 (#28090)
* doc: Partition Streams operator, #25468

* example intro text
2019-11-26 13:11:43 +00:00
Johan Andrén
4d99440e00
Example for Source.unfoldAsync (#28111) 2019-11-26 14:10:31 +01:00
Christopher Batey
09a97ce1c9 Document scanAsync (#28239)
* Document scanAsync

* Include async function in scanAsync example
2019-11-26 12:25:20 +01:00
Lim Chee Hau
444a86291e Add scanAsync examples to akka-docs (#25468) (#27990)
* Add scanAsync examples to akka-docs (#25468)

* Sync scan with scanAsync in akka-docs (#25468)
2019-11-26 10:57:12 +01:00
Lim Chee Hau
2ee63f5386 Add recover example to akka-docs (#25468) (#28004)
* Add recover example to akka-docs (#25468)

* Apply scalafmtAll (#25468)
2019-11-26 10:55:26 +01:00
Johan Andrén
ac15cb3289
Operator docs for Source.tick (#28225) 2019-11-25 13:25:07 +01:00
Christopher Batey
1b68951f86 =doc: take and takeWhile (#28078)
* Switch java examples to pass in actorsystem instead of materializer
2019-11-25 10:50:41 +01:00
Johan Andrén
d385c1098a
Operator docs for Source.combine (#28195) 2019-11-22 14:42:36 +01:00
Patrik Nordwall
6185fbde18 doc: Broadcast Stream operator, #25468 (#28091)
* doc: Broadcast Stream operator, #25468

* example intro text
2019-11-20 13:03:03 +01:00
Arnout Engelen
548b3589f2 doc: Flow.fold (#27850) 2019-11-18 18:02:44 +02:00
Lim Chee Hau
3fb6e77fd2 Add grouped example to akka-docs (#25468) (#28013) 2019-10-18 08:51:31 +02:00
Johan Andrén
74adecb4e7
Align lazy and future operators #26446 2019-10-16 17:02:12 +02:00
Johan Andrén
7102c4744d
Add a sample for Source.unfoldResource #25468 2019-10-05 12:28:07 +02:00
Patrik Nordwall
1a8a438144
doc: Source.maybe, #25468 (#27832) 2019-10-03 14:09:45 +02:00
Scala Steward
6b17a7a15f Update scalafmt-core to 2.1.0 (#27831)
* Update scalafmt-core to 2.1.0

* scalafmt
2019-10-01 12:24:51 +02:00
Patrik Nordwall
d8c8121c4d
Code example for collect and collectType (#27744)
Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-09-19 11:22:37 +02:00
Jakob Merljak
4576835cce Akka Stream log operator documentation fix (#27654)
* Fix Akka Stream log operator documentation example

* Keep Scala documentation example in sync
2019-09-10 13:24:24 +02: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
Johan Andrén
f88ee384c3 watchTermination now fails the future on downstream failure #27640 2019-09-06 09:11:57 +02:00
Johan Andrén
b68d67008a
Deprecate actor materializer (#27538) 2019-09-05 16:08:37 +02:00
Johan Andrén
aca63ea198
Materializer settings as attributes (#27499)
* Replace MaterializerSettings with Attributes #25559 
 * Field access to settings deprecated to make stages use attributes instead
 * Internal stages updated to use attributes
 * Docs on ActorMaterializerSettings updated to recommend away from using it
 * Verify all stages stopped after each testcase in FlowGroupBySpec
 * Subscription timeout attributes merged into one
2019-09-04 13:37:06 +02:00
Johan Andrén
45c826a218
System wide materializer (#27491)
Introduces a materializer started through an extension and then an implicit
conversion for Scala turning an implicitly available ActorSystem into a
materializer. The Java APIs has been ammended with run-methods accepting
an ActorSystem.
2019-08-23 18:19:27 +02:00
Patrik Nordwall
7a16403f1b
Merge pull request #27246 from 2m/wip-expect-no-message-sub-2m
Add expectNoMessage to subscriber probe
2019-07-04 14:49:14 +02:00
Martynas Mickevičius
f75f1943a2
Add expectNoMessage to subscriber probe 2019-07-04 13:52:53 +03:00
Arnout Engelen
a36ec1260d Move a couple of Akka Streams examples to their own files (#26703) 2019-07-02 16:54:53 +02:00
Patrik Nordwall
10d32fceb9 scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
* previous `schedule` method is trying to maintain a fixed average frequency
  over time, but that can result in undesired bursts of scheduled tasks after a long
  GC or if the JVM process has been suspended, same with all other periodic
  scheduled message sending via various Timer APIs
* most of the time "fixed delay" is more desirable
* we can't just change because it's too big behavioral change and some might
  depend on previous behavior
* deprecate the old `schedule` and introduce new `scheduleWithFixedDelay`
  and `scheduleAtFixedRate`, when fixing the deprecation warning users should
  make a concious decision of which behavior to use (scheduleWithFixedDelay in
  most cases)

* Streams
* SchedulerSpec
  * test both fixed delay and fixed rate
* TimerSpec
* FSM and PersistentFSM
* mima
* runnable as second parameter list, also in typed.Scheduler
* IllegalStateException vs SchedulerException
* deprecated annotations
* api and reference docs, all places
* migration guide
2019-06-05 11:38:04 +02:00
Arnout Engelen
814cfa286c Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
Nicolas Vollmar
f37f41574d Implements actorRef source variant with backpressure #17610 (#26633)
* Implements actorRef source variant with backpressure #17610

* Small improvements to documentation and source #17610

* Small improvements to test #17610

* Small improvements to implementation and tests #17610

* Adds API for akka-typed #17610

* Adds ack sender and java api for typed #17610
2019-05-20 12:19:44 +02:00
Christopher Batey
c65bf2d276 Remove docs for ActorPub/Sub and write persistence query docs as stages (#26844)
* use separate db columns
* Use io dispatcher for sample stage
2019-05-03 12:36:50 +02:00
Patrik Nordwall
82c761f026
remove Future from StreamRefs mat val, #24372 (#26847) 2019-05-02 16:54:37 +02:00
Nicolas Vollmar
c9b3f1de6d GrapheStage implementation for actorRef source (#25324) (#26054)
* Adds internal access to materializer before initialization (#25324)

* Implements new actorRef source based on graph stage  (#25324)

* Removes obsolete actorRef source (#25324)

* Improves backwards compatibility with old implementation (#25324)

* Removes dedicated new subclass for materializer access again  (#25324)

* Improves implementation (#25324)

* Finalizes implementation (#25324)

* Small improvements to API and documentation (#25324)

* Completion strategy as a replacement for poison pill (#25324)

* Adding more tests and updating the documentation (#25324)
2019-03-27 14:16:38 +01:00
Auto Format
75579bed17 format source with scalafmt, #26511 2019-03-15 10:23:46 +01:00
Auto Format
ce404e4f53 format source with scalafmt 2019-03-11 16:58:55 +01: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
Nicolas Vollmar
44709e6bba Adds docs for actorRef stream integration #24595 2019-03-08 17:13:59 +01:00
Christopher Batey
ea8e3ace33 Harden RateTransformationDocSpec: Use test patience rather than hadcode #26262 2019-02-21 16:42:24 +01:00
Pierre-Marie Padiou
dcb17b1d0c Fix comment in hashtag example of streams quickstart doc 2019-01-17 16:51:28 +01:00