Commit graph

570 commits

Author SHA1 Message Date
Patrik Nordwall
1369d3fcdf fix initial state of output port transitions, #25502 2018-08-24 16:46:03 +02:00
Christopher Batey
336400832b
Typed default blocking dispatcher + docs (#25359)
Closes #24893
2018-08-23 17:20:06 +01:00
Patrik Nordwall
051f5f8b5a
Merge pull request #25431 from andreaTP/updateScalafiddleIntegration
+doc Improved scalafiddle integration
2018-08-23 14:12:55 +02:00
andrea
de3dbea7b4 improved scalafiddle integration 2018-08-23 11:41:45 +01:00
Guy Youansi
eb5885e94e add java.time.Duration support for javadsl #24646
* add java.time.Duration support for askWithReplyto methods and add deprecated to method with akka Timeout as parameter type
2018-08-23 12:09:21 +02:00
Patrik Nordwall
8309dc9b45
Merge pull request #25389 from chbatey/nit-1
Remove use of deprecated methods in java docs
2018-08-23 11:26:39 +02:00
Christopher Batey
001a7569b9
Split up persistence documentation (#25396)
* Split up persistence documentation

Into:
* User facing persistence
* Building a Journal
* Persistent FSM so new users don't see it as easily (also add a warning
it will be replaced by typed persistence)
2018-08-22 10:47:32 +01:00
Patrik Nordwall
3fcfb8d699
Merge pull request #25405 from chbatey/cluster-sharding-docs
Break up cluster sharding docs into sections
2018-08-21 20:37:12 +02:00
Kazuhiro Sera
482eaea122 Fix several minor typos detected by github.com/client9/misspell (#25448)
* Fix several minor typos detected by github.com/client9/misspell

* Revert s/erminater/erminator/ in /ActorSystemSpec
2018-08-21 11:02:37 +09:00
Nathan Brown
61f844471b Correct parameter order in FSM transition-syntax example (#25439)
To match example and Scala version.
2018-08-20 16:34:35 +02:00
Andras Szatmari
799aff28c8 Various documentation fixes of "Basics and working with Flows" (#25494) 2018-08-20 15:10:07 +02:00
lteqgt
17aabf1f00 Docs: IDE tip wrt to javadsl / scaladsl #25312 (#25464)
* add note about IDE auto-importers

* add ide tips in "additiona" section

* link note to IDE Tips section in "additional"
2018-08-20 14:38:57 +02:00
YossiTamari
97c8e5b6f8 It's Duration.Inf, not inf (uppercase). (#25495) 2018-08-19 18:43:06 +09:00
Josep Prat
545160e107 =doc Fix Config links in testing (#25421) (#25422)
* =doc Fix Config links in testing (#25421)

refs: #25421
Fixes links to Configuration html page
Removes link to Ray Roestenburg blog page as it's now returning 404
Fixes link to `ConfigFactory` in Configuration doc page

* Add Ray's blog link from web archive
2018-08-13 12:09:21 +09:00
Andras Szatmari
84ced6f501 Minor documentation fixes (#25462)
* Fix indefinite wording

Fix indefinite error introduced in https://github.com/akka/akka/pull/25219

* Fix indefinite wording

Fix indefinite wording error introduced in https://github.com/akka/akka/pull/25117
2018-08-11 20:13:15 +09:00
Syed Akber Jafri
32a7c9a8fc Delist 'Start Building RESTful Microservices using Akka HTTP with Scala' (#25446)
* Delist 'Start Building RESTful Microservices using Akka HTTP with Scala'

I don't believe this book was a particularly good resource. This shouldn't be listed as a resource.

* Books are now seperated into a recommended section and others

Books are now seperated into a recommended section and others.
Start Building RESTful Microservices using Akka HTTP with Scala is placed on the bottom.

* Update books.md
2018-08-10 15:59:12 +09:00
Justin Pihony
b1904325ca Add ClusterSingleton supervision documentation (#25419)
* Add ClusterSingleton supervision documentation

* Make example code compilable

* Changed snip per comment

* Back to double snip
2018-08-08 16:24:48 +09:00
Jakub Kozłowski
d014877786 Remove "Future is a monad" title (#25437)
* Add explanation for Future breaking monad laws

* Update futures.md
2018-08-07 15:14:06 +09:00
Christopher Batey
131e6d10d6 Separate out Effects and ChainedEffects in typed persistence (#25357)
* Separate out Effects and ChainedEffects in typed persistence

* Document order of execution for ChainedEffects
* Change stop to a just a ChainedEffect rather than both

Closes #25042
Closes #25041

* ChainedEffect renamed to SideEffect
2018-08-03 17:15:49 +09:00
Nafer Sanabria
3a92104160 Impl Sink.takeLast operator
Add documentation

reformatting

Address review comments
2018-08-03 16:31:28 +09:00
Christopher Batey
59040fadad Add jaxb to camel test classpath (#25417)
* Add jaxb to camel classpath

* Add activation

* Set camel additioanl libs to be provided

* Doc extra deps

* Add as test dep
2018-08-02 00:13:03 +09:00
Jean-Loup Roussel-Clouet
cdd177b2c6 Fix a typo in cluster-usage.md (#25424) 2018-08-01 10:24:18 +01:00
Paweł Bartkiewicz
31347a60f4 Fix link to substreams documentation (#25420) 2018-08-01 14:09:14 +09:00
Christopher Batey
5835585993 Break up cluster sharding docs into sections 2018-07-30 09:31:12 +01:00
David Mischke
2737caf8fb use correct Source import 2018-07-27 17:51:00 +02:00
David Mischke
f543f69c93 Merge branch 'master' of https://github.com/akka/akka into document-stream-source-range-operator 2018-07-27 12:35:28 +02:00
kenji yoshida
5b3b191bac Remove procedure syntax (#25362) 2018-07-25 13:38:27 +02:00
Christopher Batey
8476a90d1f Remove use of deprecated methods in java docs 2018-07-25 09:50:19 +01:00
David Mischke
f94733acc6 addressing review comments #24933 2018-07-23 13:07:32 +02:00
David Mischke
9885a56f17 Merge branch 'master' of https://github.com/akka/akka into document-stream-source-range-operator 2018-07-21 14:16:58 +02:00
David Mischke
80c0596733 improve Source.range docs #24933 2018-07-21 14:09:32 +02:00
Ikenna Darlington Ogbajie
fb9bb51dc7 Add examples in Scala documentation for Source.fromFuture #24933 (#25374)
* Add scala documentation for Source.fromFuture #24933
2018-07-20 07:17:05 +01:00
iyogi
3e698be9ce Add code sample for operator Source.single (#25375)
* Add code example for Source.single
2018-07-20 07:15:13 +01:00
Gordon Cheung
1638580339 Added code example for the stream operator map (#25373)
* Added code example for the stream operator map
2018-07-19 08:15:17 +01:00
Roman Filonenko
4a8368bfe0 remove unreferenced akka-docs/src/test/*/tutorial_6 (#25363) (#25364) 2018-07-19 15:22:10 +09:00
Chang Liu
862a66ecc7 Add docs and example for akka-stream operator from (#24933) (#25372)
* Add docs and example for akka-stream operator from (#24933)

* add seperate test class for code example of akka-stream from

* add copyright header
2018-07-19 13:38:47 +09:00
Giuseppe D'Alessio
578f32d322 Adding combine operator scala example #24933 (#25371) 2018-07-18 18:53:31 +02:00
David Mischke
598b22622d Adding documentation to Source.range method #24933 2018-07-18 18:49:47 +02:00
Roman Filonenko
3b8a448de2 fix broken link in akka-stream docs on ask #25358 (#25360) 2018-07-18 17:35:20 +09:00
Song Kun
ac79f9b03d Fix broken links of CRDTs materials in "Learn More about CRDTs" (#25351)
* Add a new link to "Strong Eventual Consistency and Conflict-free Replicated Data Types" and remove "Eventually Consistent Data Structures". fix #25338

* Update distributed-data.md
2018-07-16 14:10:23 +09:00
Patrik Nordwall
51e0bc2347 Behavior for spawning actors, #25223 (#25273)
* Behavior for spawning actors, #25223
2018-07-10 15:43:34 +01:00
Patrik Nordwall
62aaae06ca
Merge pull request #25286 from giftig/issue-25285
Fix Source.actorRef not  completing for Status.Success("ok")
2018-07-10 13:23:23 +02:00
Rob Moore
ce185c4dfc Source.actorRef not completing on Success (#25285)
When a Success is received, call onCompleteThenStop instead of just
context.stop; that takes care of the completion logic instead of just
stopping the actor and leaving the stream going.

Add test to ensure the stream materializes on Source.actorRef receiving
Status.Success

Remove tests around stream completion behaviour in response to
PoisonPill - as well as these tests not correctly demonstrating that the
completion was passed on downstream, they describe behaviour which was
previously incidental and is no longer accurate.

Update the docs to reflect that PoisonPill should not be used on the
actor ref as this scenario will necessarily result in bad behaviour as
it will be unable to signal the completion downstream.

Make a few grammar fixes and remove some trailing space while updating the
docs.
2018-07-09 22:25:32 +01:00
Christopher Batey
836347fe08 Typed persistence: Throw on persist failures, #24479
* Rather than stop so that users can add their own supervision e.g.
restartWithBackOff
* Only allow back off supervisoir for persistent behaviors
* Handle persist rejections
2018-07-09 10:57:36 +02:00
Patrik Nordwall
9cecba3455 Composable javadsl CommandHandlerBuilder, #25226 (#25227)
* Composable javadsl CommandHandlerBuilder, #25226
* CommandHandlerBuilder with stateClass and statePredicate parameters
* CommandHandlerBuilder.orElse
* Remove ActorContext from handler function signatures, can be
  passed in constructor
2018-07-06 15:35:07 +01:00
Mikko Östlund
46b433b47d Align Java sample DeviceGroupQueryTest with the Scala one #25278 2018-07-03 17:39:12 +02:00
Roman Filonenko
e6d67d8555 fix dependency blocks in documentation (#25240) (#25294) 2018-07-03 14:18:36 +02:00
Roman Filonenko
e94d011cbd populate Creating Actors section in the akka typed documentation (#25218) (#25236)
* populate Creating Actors section in the akka typed documentation (#25218)
2018-07-02 13:31:39 +01:00
Patrik Nordwall
02f6899952 example for Streams log operator (#25283)
* and added all log levels in Attributes for convenient single access point
2018-06-30 12:10:10 +09:00
Matt Kohl
33904de972 Documentation fix (#25282) 2018-06-29 13:35:24 +02:00