Commit graph

957 commits

Author SHA1 Message Date
Bora Kaplan
8ea9f9f32b Fixed typo on tutorial_4.md (#25238) 2018-06-18 15:21:31 +02:00
Patrik Nordwall
23506e2d3c move Cluster Aware routers to separate doc page
* had a too dominant location for historical reasons
2018-06-15 13:47:38 +02:00
Patrik Nordwall
903b1fd56b
When and where to use Akka Cluster (#25182)
* Microsystems
* Traditional distributed application
* Distributed monolith anti-pattern
2018-06-15 13:42:41 +02:00
J Evans
51c9f8ee42 fix multiple spelling error to multiply (#25222) 2018-06-11 15:03:07 +02:00
李晨曦
cab48ba699 Correct a word 'degredation' (#25207) 2018-06-06 08:43:44 +01:00
Viktor Klang (√)
eddc61af82 Documentation updates for Akka Persistence Typed (#25194)
* Switching to throwing exceptions in documentation suggestions
2018-06-05 09:49:01 +01:00
Christopher Batey
c8f4a17025
Clarify typed supervision when returning a new behavior (#25163) 2018-05-31 13:07:15 +01:00
Christopher Batey
3c12196d22
Update stream-integrations.md 2018-05-30 11:33:25 +01:00
Christopher Batey
a7d94db803 Routing docs: Fix typo and clarify group behavior (#25162) 2018-05-29 21:07:21 +09:00
Jimin Hsieh
7c3a8a8ed5 java.time.Duration APIs in javadsl.TestKit #24646 2018-05-29 12:17:48 +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
84d53d1ad1 Persistence: replace initialState with emptyState (#25129) 2018-05-25 14:29:22 +02:00
Christopher Batey
8eb7b1ea81
Typed persistent event adapters/wrappers (#25050)
Typed persistent event adapters/wrappers
2018-05-25 10:23:04 +01:00
Arnout Engelen
c8064d069b
Merge pull request #25139 from ortex/fix-graph-stage-logging-docs
fix graph stage logging docs
2018-05-25 10:13:12 +02:00
Max Calderoni
c6b1f9b884 =doc wording improvement in stream-graphs.md subjunctive (#25145) 2018-05-25 14:59:59 +09:00
ortex
ea4fe1ba99 using unidoc for graph stage logging docs 2018-05-25 02:14:16 +03:00
Andrew Bushmin
6a7488fa19
fix graph stage logging docs 2018-05-23 23:29:39 +03:00
Arnout Engelen
414be2c0cb
doc Replace graph stage and processing stage by operator in .md files for stream (#25117) 2018-05-22 15:59:54 +02:00
Richard Imaoka
cbc0ee484f Reflect review comments 2018-05-22 20:57:00 +09:00
Konrad `ktoso` Malawski
de04758bb8 more docs for Sink.queue and actorRefWithAck (#25063) 2018-05-22 11:27:54 +02:00
Patrik Nordwall
e6633f17fa
Make sure Serialization.currentTransportInformation is always set, #25067
* The ThreadLocal Serialization.currentTransportInformation is used for serializing local
  actor refs, but it's also useful when a serializer library e.g. custom serializer/deserializer
  in Jackson need access to the current ActorSystem.
* We set this in a rather ad-hoc way from remoting and in some persistence plugins, but it's only
  set for serialization and not deserialization, and it's easy for Persistence plugins or other
  libraries to forget this when using Akka serialization directly.
* This change is automatically setting the info when using the ordinary serialize and deserialize
  methods.
* It's also set when LocalActorRefProvider, which wasn't always the case previously.
* Keep a cached instance of Serialization.Information in the provider to avoid
  creating new instances all the time.
* Added optional Persistence TCK tests to verify that the plugin is setting this
  if it's using some custom calls to the serializer.
2018-05-21 16:59:04 +02:00
Richard Imaoka
6ec46e762f Add example for Java typed serialization (#25007)
* Add example for Java typed serialization (#24993)
2018-05-21 15:30:44 +01:00
Jonas Chapuis
8ff81fbce7 Clarify mailbox configuration entry location in documentation (#25071) 2018-05-21 17:06:39 +03:00
Patrik Nordwall
52f24e5174 move Typed ActorMaterializer to scaladsl/javadsl, #24868
* add type alias for typed ActorMaterializer
* name it ActorMaterializerFactory in javadsl

Migration guide:
Scala:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.scaladsl.ActorMaterializer
Java:
import akka.stream.typed.ActorMaterializer -> akka.stream.typed.javadsl.ActorMaterializerFactory
2018-05-21 17:05:09 +03:00
Patrik Nordwall
b08d3acb4b Rename Typed TestKit, #25084
Artifact:
akka-testkit-typed -> akka-actor-testkit-typed

Package:
akka.testkit.typed -> akka.actor.testkit.typed

Config:
akka.typed -> akka.actor.typed
akka.testkit.typed -> akka.actor.testkit.typed
2018-05-21 11:51:51 +02:00
Richard Imaoka
984c081757 Replace processing stage with operator 2018-05-19 16:36:42 +09:00
Richard Imaoka
9784f65ced Replace graph stage with operator 2018-05-19 16:36:04 +09:00
Paulo "JCranky" Siqueira
ad2bcfefd2 change "but, " to ", but" in modules.md (#25107)
The previous version sounds really weird, and just moving `,` makes it better.
2018-05-16 10:51:12 +09:00
Richard Imaoka
3caddf594c Add ref directive to GraphStage in .md files (#24995) (#25102) 2018-05-16 00:33:19 +09:00
Richard Imaoka
a57235098b consistent wording; operator instead of combinator, in remaining places (#25101) 2018-05-15 15:31:11 +02:00
Filip Matusak
19f23514f6 #24778 MergeLatest operator 2018-05-15 15:03:52 +02:00
Arnout Engelen
9869c2355e
Fix Java Doc test for actorRefWithAck (#25079) 2018-05-15 11:52:07 +02:00
Richard Imaoka
ea84b8d469 Add library dependency section to documentation (#25010) 2018-05-15 11:44:33 +02:00
Johan Andrén
09025092ae Remove words such as simply and obviously from docs (#25095)
* One does not "simply"

* It's not obvious

* It's not really _that_ easily done

* Basically is basically a useless word

* Of course - if you already know how things work you wouldn't be reading the docs

* Clearly is maybe not so clear for everyone

* Just was just a bit harder as there are some uses that are just
2018-05-15 07:11:03 +01:00
Guy Youansi
759010f0cd +act add java.time.Duration support Actor javadsl (#24993)
* add java support in akka-actor module in the class Abstract.ActorContext by adding the setReceiveTimeout and CancelReceiveTimeout

* add akka.actor.AbstractActor#ActorContext cancelReceiveTimeout and setReceiveTimeout to mima-excludes file

* removed scala.concurrent.duration dependency in ActorDocTest and add new method expectTerminated with java.time.Duration support in TestKit

* used java.time.Duration as default import
2018-05-14 17:22:02 +09:00
Konrad `ktoso` Malawski
7fa28b3488
consistent wording; stream ops are "operators" (#25064) 2018-05-09 16:50:32 +02:00
Arnout Engelen
99b1b18b57 Make KillSwitch documentation more accurate (#25066) 2018-05-08 16:30:01 +02:00
Patrik Nordwall
178ba1f438
Merge pull request #24987 from satansk/patch-2
=doc using PatternsCS.retry in java docs
2018-05-07 16:08:06 +02: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
Christopher Batey
6674599e50 Add gradle to all dependency doc sections (#25031) 2018-05-07 09:31:09 +02:00
promanski
05282b59c9 Handle a negative value returned by Math.abs() #25034 2018-05-05 13:49:20 +02:00
Patrik Nordwall
216025b03f
Merge pull request #25048 from chbatey/cluster-down-doc
Note what happens if a node sees its self as Down
2018-05-03 13:54:07 +02:00
Christopher Batey
2a88452838 Note what happens if a node sees its self as Down 2018-05-03 11:24:46 +01:00
Markus Thömmes
35e53f570c Allow groupBy to recreate already closed substreams #24758
`groupBy`'s default behavior is to filter elements, that would go to a substream
that is already closed. This allows `groupBy` to recreate those already closed streams,
if wanted, and run them as if they would've never run before in the first place.

Overload instead of default parameter

Make set of closed keys unmodifiable if not needed

Adjust documentation, adding a warning on memory consumption.

Add MiMa exclude.
2018-05-03 10:54:11 +02:00
Reza Rasouli
89b3820673 Documentation of wrapping PersistentBehavior in typed actor persistence #24679 (#24942)
* Documented wrapping PersistentBehavior in typed actors persistence documentation #24679

* Removed "Current Limitations" section
* Added description on wrapping PersistentBehavior
* Added Scala and Java example for the pattern

* updated persistence docs for the hinted changes

* added  missing "the" as requested in the  hint
2018-05-03 10:20:37 +02:00
Patrik Nordwall
948017544c
Merge pull request #25017 from chbatey/issue-24636
Note that Aeron is only supported on Linux, Windows and Mac
2018-05-02 20:20:01 +02:00
Dan Rivett
1cb1b68a11 Fixing documentation typo: loosing -> losing (#25037) 2018-05-02 07:11:52 +01:00
anilkumarmyla
1ca612985e Fix doc - use new markdown directive for dependency (#24811) 2018-05-01 10:25:31 +01:00
Konrad `ktoso` Malawski
d870d37bb3 =doc missing ACK reply in doc example (#24997) 2018-04-30 14:12:04 +02:00
Christopher Batey
ed06f7ad2f =doc Note that Aeron is only supported on Linux, Windows and Mac 2018-04-30 11:13:58 +01:00