Commit graph

1481 commits

Author SHA1 Message Date
mikolak-net
00068e2d1d Extrapolate stage and expand redoc #23804 2018-03-27 10:39:25 +02:00
Arnout Engelen
691254b1a7 Consolidate docs on disabling Java serialization (#24790)
Was duplicated across Artery and classic remoting, moved it to serialization.
2018-03-27 11:12:10 +09:00
Gergő Törcsvári
67a81eb01b GraphDSL create with Seq[Graph] added #24067 2018-03-26 17:41:54 +02:00
Daniel Kalman
86e44167f3 Added retry pattern #22276 (#23997) 2018-03-26 13:56:20 +02:00
Prada Souvanlasy
46c662965f fix #23618 : Support for persistence dynamic configuration at runtime (#23841) 2018-03-26 13:52:31 +02:00
Konrad `ktoso` Malawski
d503cb0da3
Add delivery semantics notes to stream refs (#24777) 2018-03-24 10:45:43 +09:00
Gergő Törcsvári
ea9b7c9971 [docs] added notes where the code was unclear for beginners (#24757)
* [docs] added notes where the code was unclear for beginners

* Update stream-graphs.md
2018-03-22 13:03:04 +09:00
Patrik Nordwall
11f2ef5784
Merge pull request #24508 from psliwa/patch-1-defer-method
Adding defer method to PersistentActor
2018-03-21 13:41:51 +01:00
Patrik Nordwall
b34c38e37e
Merge pull request #24755 from hepin1989/javadocs
=doc using java.time.Duration for stream's javadsl
2018-03-21 13:36:14 +01:00
虎鸣
c354aa0b6a =doc using java.time.Duration for stream's javadsl 2018-03-21 11:29:11 +08:00
虎鸣
e45a638ce0 + testkit Add java.time.Duration to testkit's javadsl 2018-03-20 22:39:30 +08:00
Konrad `ktoso` Malawski
b3fbf6869b
=typ #24683 Behaviors receive, receiveMessage, receivePartial, receiveMessagePartial (#24718)
* wip

* =typ #24683 Behaviors receive, receiveMessage, receivePartial,
receiveMessagePartial

* move MutableBehavior out as separate file

* receive, receiveSignal

* missing copy

* final cleanup

* cleanup, formatting
2018-03-20 00:20:13 +09:00
Konrad `ktoso` Malawski
6656b3c869
improve docs and test style of lazyInitAsync (#24754) 2018-03-20 00:04:34 +09:00
Christopher Batey
a0ebeb09e7 =doc Note Source.queue backpressure behavior on stream integration page (#24746) 2018-03-19 16:54:33 +09:00
kerr
8245c55bc9 + str Add java.time.Duration to TimerGraphStageLogic. (#24712) 2018-03-19 14:04:44 +09:00
Yoshimasa Tanabe
a878e6c9fa Adding explanation for Java DSL TestKit#awaitAssert return value (#24110) (#24737) 2018-03-16 11:41:18 +01:00
Johan Andrén
d8b9bb1b3a
Java Flow dsl lower bounds incorrect #24368 2018-03-15 14:53:50 +01:00
Johan Andrén
38c0bbef7c
Split up receptionist implementations #24615 2018-03-15 12:16:04 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Wade Waldron
95afa04a7a Adding additional details to the auto-downing section of the documentation to indicate the consequences of using it (#24697)
* Adding additional details to the auto-downing section of the documentation to indicate the consequences of using it

* Slight rewording based on PR feedback.
2018-03-13 15:31:23 +01:00
Arnout Engelen
ab701e98be Remove default parameters in doc journal (#24704)
* Remove default parameters in doc journal

Making sure the examples are explicit about them

* Don't rely on default parameters in docs

As those default parameters might not be present for all implementations

* remove unrelated changes from PR

* Update BehaviorTestKitSpec.scala
2018-03-13 13:26:35 +09:00
Konrad `ktoso` Malawski
ff5ee68e72
=doc #24688 link to akka cluster bootstrap in docs (#24693)
* =doc #24688 link to akka cluster bootstrap in docs

* amend
2018-03-13 08:40:49 +09:00
Konrad Malawski
70e225b734 =per native typed implementation of Eventsourced=>PersistendBehavior
timeout is explicitly a message of Command

persitAll and chainable side effects work well

more tests pasing

additional sanity check that mutable behaviors work as expected

unstashing needs to "loop through" the AdapterActor otherwise Stopped
won't work

solve unstashing/stop issue, by not randomly init()ing, but unstashing

snapshotting works

all tests green

rebased

nicer log source

remove IncomingCommand wrapper, we dont need it

no need for shared counter

remove not needed methods and state

more state cleanup, using Behaviors.same

reminder that we DO need that same alias, since stash does not work with
the Behavior.same

introduce config for stash buffer

stopping now works after persisting

compile fix

cleanup

reduced number of adapter styles needed for co-existence of persistence

final cleanup done, less passing around 40 objects, carriers provided
now
2018-03-13 00:40:13 +09:00
zodiake
1a63aa8637 Update PersistenceQueryDocSpec.scala (#24405) 2018-03-12 11:59:56 +01:00
Gaël Bréard
318c857ff0 Add serialization with transport information method in public API #24321 (#24515)
* Add serialization with transport information method in public API #24321

Signed-off-by: Gaël Bréard <gael.breard@orange.com>

* remove copyright
2018-03-12 11:49:14 +09:00
Johan Andrén
ac408bba8f
Revert "Unidoc directives for cluster md files" #22904 2018-03-09 10:59:49 +01:00
Richard Imaoka
bcc86f7703 Unidoc directives for cluster md files #22904 2018-03-09 09:12:54 +01:00
Konrad `ktoso` Malawski
5be3c7bf83
parity for Sink, for preMaterialize operation (#24657)
* +str #24656 parity for Sink, for preMaterialize operation

* add java test

* added docs to stages-overview
2018-03-08 13:02:17 +09:00
Roman Filonenko
0ecadf7235 deduplicate logic for IODispatcher #24604 (#24619)
* deduplicate logic for IODispatcher #24604
 * introduce a resolveDispatcher helper in ActorAttributes
 * mention akka.stream.materializer.blocking-io-dispatcher instead of akka.stream.blocking-io-dispatcher in scaladocs
 * fix a flaky test
 * cosmetic changes in the touched files

* move resolveDispather helper to the Dispatcher companion object under a new name resolve

* filter out mima warning

* fix mima excludes after the 2.5.11 release

* address review comments
 * update stream-io.md with the correct dispatcher config key
 * mark ActorAttributes.Dispatcher#resolve as internal API
 * use the dispatche config key in ActorMaterializer

* add private[akka] to the resolve methods
2018-03-07 15:12:34 +01:00
Patrik Nordwall
a13f5cab00 ClusterSharding: automatically choose start or startProxy by a node role (#23934) (#24669) 2018-03-07 13:17:56 +09:00
Francisco José Bermejo Herrera
6646eded2c Add serializer for akka.NotUsed (#24599) (#24600) 2018-03-05 17:38:17 +01:00
Roman Filonenko
8fcf728b7a fix Trigger references in the stream cookbook example for digest #24317
* replace Trigger with Unit
 * cosmetic changes in docs.stream.cookbook tests
2018-03-03 08:52:02 +01:00
Richard Imaoka
82f50a848a Add unidoc directive for markdowns #24426 2018-03-01 13:35:00 +01:00
adamlehenbauer
ba15b72714 Fix typo: lead -> led 2018-03-01 11:42:39 +09:00
Song Kun
32021cb382 =doc fix the wrong position of a sentence 2018-03-01 11:32:05 +09:00
Ignasi Marimon-Clos
58c00b67e5 Remove "them them" (#24613) 2018-02-23 14:05:54 +01:00
Patrik Nordwall
cf312703fa small adjustment of the aeron vs tcp documentation 2018-02-23 10:41:21 +01:00
Martynas Mickevičius
c625d9e90a
Merge pull request #24601 from FredrikMeyer/patch-1
Fix dead link in cluster.md
2018-02-22 12:49:56 +01:00
Johan Andrén
ede094a2c6 Typed Java testkit, #24551
* Java specific testkit
* Separate all the APIs
* Dilate the default timeouts
* TestKit -> ActorTestKit to be consistent with BehaviorTestKit
* Only have stuff in packages expected for this module
* Auto testkit-system-naming that works (verified)
* Separate actually working apis for manual timer
* More docs
* Separate apis for BehaviorTestKit effects
* Moved the example tests into the testkit, added samples for JUnit/ScalaTest
* TestKitJunitResource: No need to explicitly provide class, also overload for just custom config
2018-02-22 12:25:04 +01:00
Fredrik Meyer
7d0065a462
Fix dead link in cluster.md
Came over this while reading the documentation. A Google search found a working link.
2018-02-22 11:54:14 +01:00
Konrad Malawski
4714f16dcf +str #18142 ask pattern integration for akka streams
progressed with cleanup, removing the same thread exec context is
weird... causes issues :-/ Need to debug more, could be that some race
also exists in mapAsync then :\

WIP

finish ask impl via watch stage

mima

consistency spec

fix paradox, and fix adding ask/watch to javadsl source

follow up review
2018-02-22 19:50:46 +09:00
gosubpl
edc67e0c3f +str Add Flow.lazyInit (#24427) (#24527) 2018-02-22 08:11:31 +01:00
Oleksii Tkachuk
80da4cadee Issue 24519: Created method lazilyAsync for both DSLs and adds section in docs (#24568)
* Issue 24519: Created method lazilyAsync for both DSLs and adds section in docs.

* Issue 24519: Changes according to code review

* Issue 24519: Added unit tests

* Update LazilyAsyncSpec.scala

* Issue 24519: Added copyright
2018-02-22 10:15:25 +09:00
Stefano Bonetti
3ea59b1e76 Adding preMaterialize operator for Source #23894 (#24497) 2018-02-21 15:06:01 +09:00
虎鸣
e44fafd4b7 + stream add collectType operator to Source,SubSource,Flow and SubFlow for javadsl.
add docs for collectType, do mirror it in scaladsl

mima
2018-02-21 14:23:11 +09:00
piotr.sliwa
2f6deace13 Adding defer method to PersistentActor 2018-02-20 23:30:56 +01:00
Johannes Rudolph
bbdf3261c4 Describe options for hostname verification and certificates, #24390 2018-02-20 16:06:17 +01:00
Patrik Nordwall
4dab3252bd Add Artery TCP/TLS transport, #24390
* configurable SSLEngineProvider
* ssl configuration
* add internal outgoingTlsConnectionWithSSLEngine and bindTlsWithSSLEngine in stream Tcp
* TLS tests
* update remote security section in reference documentation
2018-02-20 16:06:16 +01:00
Patrik Nordwall
162a1f80a0 Add Artery TCP transport, #24390
* transport config
* TCP specific classes in akka.remote.artery.tcp package
* TcpFraming stage that handle the additional streamId field and length based framing.
  Credit to jrudolph for this clean solution, which made it possible to use same
  envolope header for Aeron and TCP.
* magic first bytes to detect invalid access
* drain SendQueue to deadLetters in postStop
* error handling, restart, inbound and outbound streams
* udp vs tcp in autoSelectPort
* TCP specific flight recorder events
* update reference documentation
2018-02-20 16:06:05 +01:00
Patrik Nordwall
0d222906f4 Prepare Artery for alternative TCP transport, #24390
* Refactoring to separate the Aeron specific things, ArteryAeronUdpTransport
* move Aeron specific classes to akka.remote.artery.aeron package
* move Version to ArterySettings, and describe strategy for envelope header changes
2018-02-20 16:02:57 +01:00