Commit graph

22050 commits

Author SHA1 Message Date
Konrad `ktoso` Malawski
d503cb0da3
Add delivery semantics notes to stream refs (#24777) 2018-03-24 10:45:43 +09:00
Oleksii Tkachuk
f2d3a9dd27 Many recoveries spec: Transferred (#24767)
* Many recoveries spec: Transferred

* Many recoveries spec: Changes according to review.
2018-03-23 13:54:15 +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
4cbc0494ca
Merge pull request #24505 from jrudolph/jr/enable-sbt-log-timestamps
=pro add log timestamps to all sbt output and enable sbt debug logging for multi-jvm for ssh debugging
2018-03-21 13:46:52 +01: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
Patrik Nordwall
fe4cfbe990
Merge pull request #24759 from hepin1989/testkit
+ testkit Add java.time.Duration to testkit's javadsl
2018-03-21 13:33:25 +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
kerr
6e39bae98d = deps Upgrade Scala to 2.12.5 (#24762) 2018-03-20 23:09:57 +09:00
Jimin Hsieh
3685ce619e Remove some of Unused import warning (#24750)
* Remove `Unused import` of `akka-actor-typed`

* Remove `Unused import` of `akka-actor-typed-tests`

* Remove `Unused import` of `akka-stream-tests`

* Remove `Unused import` of `akka-persistence`

* Remove `Unused import` of `akka-persistence-typed`

* Remove `Unused import` of `akka-cluster-typed`

* Remove `Unused import` of `akka-cluster-sharding-typed`

* Format source code
2018-03-20 12:01:15 +09: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
Stefan Wachter
3db145643a materialized value of Flow.lazyInit must be a Future #24670 (#24685)
* change materialized value of LazyFlow from [M] to Future[Option[M]]

* remove whitespace

* improve docu

* restore old Flow.lazyInit method and add new Flow.lazyInitAsync method

* fix deprecation messages

* add 2.5.11.backwards.excludes because of changed LazyFlow constructor signature

* check switching behaviour

* apply formatting

* improve deprecation message; improve null safety

* prevent premature stage completion by setting keepGoing

* deprecate Sink.lazyInit; add Sink.lazyInitAsync

* apply formatting

* add ProblemFilter.exclude for changed LazySink.this

* Update Sink.scala

* Update Sink.scala

* Update Flow.scala

* Update Flow.scala
2018-03-19 22:42:37 +09:00
Johan Andrén
770b3a3474 =str #24581 Bugfix in VirtualProcessor (#24722)
* Single-runnable repeater (hopefully)

* Repeat like no-one is watching

* Fix plus noisy printlns

* Toggleable debug logging for VirtualProcessor

* Updated docs graph

* Re-enable debug logging to pinpoint another potential bug

* Covered some more cases

* Revert "Repeat like no-one is watching"

This reverts commit ae5e41c80ad906a80cb3455a93f9f72a6ac1246d.

* Removed duplicate repeater

* Fixed some minor things

* copyright header

* MiMa filter

* 10000 times repeater passed PR-validation, removing

* Spinlock free solution

* MiMa

* Review feedback adressed

* Update StreamLayout.scala
2018-03-19 17:25:36 +09:00
Patrik Nordwall
382e4d82b9 minor improvement of ClusterReceptionist loading (#24739) 2018-03-19 01:01:03 -07:00
Patrik Nordwall
8847f7dfb7 less aggressive resend of Artery sys msg after nack, #24744 (#24745) 2018-03-19 00:59:44 -07:00
Christopher Batey
a0ebeb09e7 =doc Note Source.queue backpressure behavior on stream integration page (#24746) 2018-03-19 16:54:33 +09:00
Oleksii Tkachuk
36b69be4e4 Typed persistence tests: RecoveryPermitterSpec (#24748)
* Typed recovery permitter spec: Defined layout

* Typed recovery permitter spec: Defined initial spec

* Typed recovery permitter spec: Implemented 3 cases

* Typed recovery permitter spec: Finished complete initial implementation

* Typed recovery permitter spec: Removed unused class

* Typed recovery permitter spec: Renamed exception as per common practice
2018-03-19 15:19:05 +09:00
James Roper
f1a5679089 Small RS compatibility fix in cancelled sink (#24749)
* Small TCK fix in cancelled sink

* Fix comments
2018-03-19 15:08:36 +09:00
kerr
e98c77e976 + str Add java.time.Duration to akka-stream's javadsl.* (#24706)
* + str Add java.time.Duration to javadsl.Source

* + str Add java.time.Duration to javadsl.Flow

* + str Add java.time.Duration to javadsl.BidiFlow

* + str Add java.time.Duration to javadsl.RestartSource,RestartFlow and RestartSink

* + str Add java.time.Duration to javadsl.StreamConverters

* + str Add java.time.Duration to javadsl.SubFlow

* + str Add java.time.Duration to javadsl.SubSource

* !stream Deprecate methods which previously accepts Scala's FiniteDuration.
2018-03-19 14:57:26 +09:00
kerr
8245c55bc9 + str Add java.time.Duration to TimerGraphStageLogic. (#24712) 2018-03-19 14:04:44 +09:00
Christopher Hunt
e744e583e5 Capture the Success companion object as well as its class (#24747)
The absence of this is something that caught me out, and others.
2018-03-19 11:06:53 +09:00
Patrik Nordwall
c67a86ac99
Merge pull request #24743 from delftswa2018/remove-stream-testkit-coroner
Remove the duplicated class Coroner.scala
2018-03-16 17:36:50 +01:00
Martijn Steenbergen
39d21ade99 Remove the duplicated class Coroner.scala 2018-03-16 15:42:04 +01:00
Arnout Engelen
4a94a3892b Add missing import 2018-03-16 13:11:52 +01:00
Jimin Hsieh
2c2b8ba001 Remove some of Unused import warning (#24650) 2018-03-16 12:08:29 +01: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
5cbdcb83cc
Expect effect type/class for BehaviorTestKit #24714 2018-03-16 10:20:05 +01:00
Christopher Batey
2bd21c1691 Improve Source.queue scala doc based on user feedback (#24734) 2018-03-16 10:01:24 +09:00
Johan Andrén
d8b9bb1b3a
Java Flow dsl lower bounds incorrect #24368 2018-03-15 14:53:50 +01:00
Johan Andrén
a53a09e6ba
Subscribing twice should cancel second subscriber #24719 2018-03-15 13:55:33 +01:00
Johan Andrén
38c0bbef7c
Split up receptionist implementations #24615 2018-03-15 12:16:04 +01:00
Johan Andrén
82f60226ff
Make use of the fact that identity is eliminated (#24702) 2018-03-14 09:21:47 +01:00
Oleksii Tkachuk
2285454956 Issue 24490: Refactoring of ActorContextSpec (#24644)
* Issue 24490: Removed unused method

* Issue 24490: Introducing NormalActorContextSpec

* Issue 24490: Implemented 'restart and stop a child actor' case

* Issue 24490: Simplified watch in 'restart and stop a child actor' case

* Issue 24490: Implemented 'stop a child actor' case

* Issue 24490: Implemented 'reset behavior upon restart' case

* Issue 24490: Implemented 'reset behavior upon resume' case

* Issue 24490: Implemented 'stop upon Stop' case

* Issue 24490: Implemented 'not stop non-child actor' case

* Issue 24490: Implemented 'watch a child actor before its termination' case

* Issue 24490: Implemented 'watch a child actor after its termination' case

* Issue 24490: Implemented 'unwatch a child actor before its termination' case

* Issue 24490: Implemented 'terminate upon not handling Terminated' case

* Issue 24490: Implemented 'return the right context info' case

* Issue 24490: Implemented 'return right info about children' case

* Issue 24490: Implemented 'set small receive timeout' case

* Issue 24490: Implemented 'set large receive timeout' case

* Issue 24490: Implemented 'schedule a message' case

* Issue 24490: Implemented 'not allow null messages' case

* Issue 24490: Implemented 'create a named adapter' case

* Issue 24490: Implemented 'not have problems stopping already stopped child' case

* Issue 24490: Introducing decoration. StepWise removed.

* Issue 24490: Isolated messages of this spec to avoid accidental usage in other specs

* Issue 24594: Fixed all review comments

* Issue 24594: Renamed message to create for readability

* Issue 24594: Fixed remaining review comments, removed unused import
2018-03-14 14:12:46 +09:00
Christopher Batey
a113ca7379 JavaDSL mergeMat ignores eager complete param (#24713) 2018-03-13 17:15:57 +01:00
Pritam Kadam
278ef5fb8c Execute tasks from Actors constructor on creation of BehaviorTestKit #24703 2018-03-13 17:15:05 +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
Johan Andrén
d03d8fdd7e Subscription timeouts should not hit after stream ref subscribe #24626 2018-03-13 01:15:33 +09:00
Konrad Malawski
d3055a7f7f recovering = replaying naming change
make all matches exhaustive

internalStashOverflowStrategy should be initialized once
2018-03-13 00:40:13 +09:00
Patrik Nordwall
7304ae981b simplify pendingInvocations 2018-03-13 00:40:13 +09:00
Konrad Malawski
5be89dea71 cleanup and make snapshots work, make event timeout work too
sadly does not work without MODULE$ did a ticket for it
2018-03-13 00:40:13 +09:00
Konrad Malawski
9e62f5b5d5 may want to benchmark typed persistence 2018-03-13 00:40:13 +09:00
Konrad Malawski
a537abc77d add MDC logging to StdOutLogger, making withMdc in Akka typed usable 2018-03-13 00:40:13 +09:00
Patrik Nordwall
e61f833dc3 make PersistingEvent MutableBehavior
fix some tests, snapshots still not working
2018-03-13 00:40:13 +09:00
Patrik Nordwall
44445140f5 EventsourcedRunning, internalPersist, internalPersistAll
* I don't think the JournalInteractions should be conserned with
  next behavior
2018-03-13 00:40:13 +09:00
Patrik Nordwall
a05f50a0c0 reduce boilerplate for passing setup (and [C,E,S])
use an enclosing class that holds the setup
2018-03-13 00:40:13 +09:00