Commit graph

247 commits

Author SHA1 Message Date
Patrik Nordwall
5ac480199a improvements of the PersistenceTestKit doc samples
* and actually run the tests
2020-04-02 16:19:52 +02:00
Renato Cavalcanti
4039a37e41
Merge pull request #28809 from akka/wip-28808-persistence-init-patriknw
Persistence initialization utility #28808
2020-04-01 12:33:14 +02:00
Patrik Nordwall
3c12f19576 java format 2020-03-30 16:56:22 +02:00
Patrik Nordwall
7e07ee17a6 move to testkit, and docs 2020-03-30 16:24:38 +02:00
Johan Andrén
dc678a6319
Docs: TestKit leaking into Java getting started guide (#28793) 2020-03-27 10:09:48 +01:00
Ignasi Marimon-Clos
f683241c40
Docs: examples for io streams with StreamConverters (#28746) 2020-03-27 09:56:59 +01:00
Patrik Nordwall
37d87811b5
Doc example of Streams watch operator, #25468 (#28752) 2020-03-26 18:00:58 +01:00
B YI
1545f3fb25
Doc example for Sink.head (#28782) 2020-03-23 14:03:09 +01:00
Kirill Yankov
41f20cbb81
Persistence testkit implementation #15571 (#26825) 2020-03-20 14:18:43 +01:00
Ignasi Marimon-Clos
3d8b4360f0
Docs: Example on the as/fromJavaStream operators (#28745) 2020-03-18 15:54:21 +01:00
Patrik Nordwall
94d5b04d93
Doc example of Sink.ignore, #25468 (#28753) 2020-03-18 12:42:20 +01:00
Johan Andrén
6f23b1fb4b
Update Source.actorRef sample to not use deprecated method #28679 2020-03-12 17:24:31 +01:00
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
Patrik Nordwall
cbde44fc48
Merge pull request #28496 from akka/managingBlockingExample
Update 'managing blocking' examples
2020-01-21 12:54:15 +01:00
Arnout Engelen
3dc20796ca Update 'managing blocking' examples
Having only one blocking actor is not enough, since then only one dispatcher
thread will be blocked at a time.
2020-01-17 15:35:05 +01:00
Mikhail Limansky
52c01832da Merge remote-tracking branch 'akka/master' into scalatest310 2020-01-17 16:03:32 +03: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
Johannes Rudolph
ec208cad08
Merge branch 'master' into scalatest310 2020-01-14 12:03:32 +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
Mike Limansky
d9ed927df0 Update to ScalaTest 3.1.0, fix #28289. 2020-01-11 15:15:10 +03: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
Patrik Nordwall
00fc33d0a5 Timout await extension initialization, #28301 (#28340)
* use the existing creation-timeout config
* and error message about the typical mistake of accessing
  SerializationExtension from constructor of serializer
* mention in docs
2019-12-17 14:19:42 +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
Brian Wignall
10e61e816f Fix typos (#28326) 2019-12-09 08:41:55 +01:00
Patrik Nordwall
be5a17aeae attempt to fix v1.class does not exist (#28309)
* sometimes I see v1.class does not exist error from incremental compiler
* could be because we have `object v1` and `trait V1` in same package
2019-12-06 16:48:05 +01:00
Johannes Rudolph
702b6a7f41 actor: allow seamless access to untyped extensions given typed ActorSystem (#28294)
* actor: allow seamless access to untyped extensions given typed ActorSystem

* add overrides with concrete type for Java API everywhere
2019-12-05 16:01:22 +01:00
Christopher Batey
8027f2123b Example for mapConcat (#28243)
* Example for mapConcat
2019-11-26 19:39:42 +01:00
Johan Andrén
a9d545bf2b Re-enable multicast tests (#28252)
* Re-enable multicast tests #28147

Some change on jenkins node a4 seems to have made the test pass again.
2019-11-26 18:45:31 +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
Arnout Engelen
4b632c4537 Add convenience method to start timer without key (#27875)
* Add convenience method to start timer without key

It is probably common that there is no need to allow different timers
that send the same message, and this makes that more convenient to write.

Updated one method to gather feedback, if we like the change I can apply
it to the others as well.

* Add alternative to all typed timer API's

Update java/scaladoc, update tests

Not updated classic actors and FSM API's
2019-11-26 13:26:49 +00: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
Arnout Engelen
8bfb891d38
Missing creation of second actor (#28251)
* Update ActorHierarchyExperiments.java

Missing creation of second actor:
context.spawn(StartStopActor2.create(), "second");

* sbt akka-docs/test:javafmt
2019-11-26 12:57:44 +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