Commit graph

120 commits

Author SHA1 Message Date
Johan Andrén
d8aed9e9d3
Operator examples for statefulMapConcat #25468 2020-03-10 10:36:07 +01:00
Johan Andrén
c46861ed26
Add LogWithMarker to Akka Stream #28450 2020-03-05 15:05:05 +01:00
Christopher Batey
bfebb235d5
Doc onFailureWithBackoff (#28356) 2020-03-03 10:18:34 +01:00
Ignasi Marimon-Clos
8ba9fda183
Adds example to Source.completionStageSource (#28639) 2020-02-27 17:59:01 +01:00
Razvan Vacaru
bb895619b9
Docs: sink seq operator examples (#28616) 2020-02-17 10:26:53 +01:00
Razvan Vacaru
56c13dcde5
Docs: add code examples for drop and dropWhile Operators (#28613) 2020-02-14 17:21:39 +01:00
Evgeny Sidorov
dcdaa5a0dd
Example for Source.fromIterator #25468 (#28582)
* add example for Source.fromIterator #25468

* scala fmt code style fix

* don't use test as a sample for docs
2020-02-11 14:58:00 +01:00
Renato Cavalcanti
e6c6459499
Fix filter operator example output (#28560)
* fixed filter operator example output

* align filter and filterNot outputs
2020-02-04 14:19:51 +01:00
Johan Andrén
8d8fa29f47
Examples for zipN, zipWithN and zipAll (#28510) 2020-01-27 09:50:34 +01:00
Arnout Engelen
087ed4b5a5 Add source.completionStage example #25468 (#28338) 2020-01-15 15:04:15 +01:00
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
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
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
Patrik Nordwall
db132cd216 Final removal of ActorPublisher and ActorSubscriber, #26187
* some messages from ActorSubscriber were also used in other places,
  so moved those to impl.ActorSubscriberMessage
* WatermarkRequestStrategy used by SourceRefImp, so moved there
2019-09-19 13:21:52 +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
tanaka takaya
9aa0e593b0 Bump up dependencies. (#27586)
* Bump up dependencies.

* revert sslConfigVersion and sigarLoader.

* only used in tests.

* Bump up dependencies.
2019-09-09 14:54:09 +02:00
Patrik Nordwall
e80b591115 rename the new Materializer.create to createMaterializer, #27642
* because static methods are resolved by looking at extended class too,
  and that results in ambigious method clash with existing create in
  ActorMaterializer
2019-09-06 09:02:22 +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
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
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
Arnout Engelen
7b20b89ce0
Add ByteString.emptyByteString to Java API (#26931)
* Add ByteString.emptyByteString to Java API

To work around https://github.com/scala/bug/issues/11509

* Add note to 2.6 migration document
2019-05-16 14:02:49 +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