Commit graph

3893 commits

Author SHA1 Message Date
Enno
a181c758c1 Paradox: latest 0.5.3, latest theme 0.16, more https (#26522) 2019-03-14 08:26:15 +01:00
daniperez
c981ba774f clarify backoff's "restart" #23406 2019-03-13 14:07:14 +01:00
Johan Andrén
7fc591c182
Signals instead of callbacks for eventsourced behavior #25428 2019-03-12 13:18:00 +01:00
Auto Format
ce404e4f53 format source with scalafmt 2019-03-11 16:58:55 +01:00
Patrik Nordwall
5c96a5f556 replace unicode arrows
* ⇒, →, ←
* because we don't want to show them in documentation snippets and
  then it's complicated to avoid that when snippets are
  located in src/test/scala in individual modules
* dont replace object `→` in FSM.scala and PersistentFSM.scala
2019-03-11 16:58:51 +01:00
Johan Andrén
0ebe54ce74
Typed actor routers #25612 2019-03-08 17:47:08 +01:00
Nicolas Vollmar
44709e6bba Adds docs for actorRef stream integration #24595 2019-03-08 17:13:59 +01:00
Nicolas Vollmar
4bf1ba0bf0 Updates deprecations and documentation #26156 2019-03-07 09:58:31 +01:00
Nicolas Vollmar
f4b6e30810 Small fixes/improvements #26156 2019-03-07 08:10:07 +01:00
Nicolas Vollmar
54232d785a Removes stopping strategy from failure options #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
9233ff5a40 Adapts and improves documentation #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
9f3b62a367 Updates backoff supervision documentation #26156 2019-03-07 08:09:11 +01:00
Enno Runne
066a692ca1 Fix dead links in the docs 2019-03-05 17:30:27 +01:00
Luc Bourlier
a98daa0d08 Adds to and toMap to SourceWithContext 2019-03-05 08:40:18 +01:00
Johan Andrén
85143b5660
Adds Flow.asFlowWithContext #26372 2019-03-04 16:32:43 +01:00
Luc Bourlier
5a425c1dc7 Rename start/endContextPropagation functions to asFlow/Source.. (#26353)
To match FlowWithContext.asFlow
2019-03-04 15:48:24 +01:00
Hungai Amuhinda
ff9289a089 Doc changes on supervising example on Tutorial guide # 26429 2019-03-04 15:17:21 +01:00
Hungai Amuhinda
7e24f0979e Doc changes (#26430) 2019-02-22 15:08:38 +01:00
Patrik Nordwall
36fe0a0375
Support mutable state by stashing commands while storing snapshot, #25740 2019-02-22 09:00:56 +01:00
Luc Bourlier
4ee1ae09a5 Adds Flow.asFlowWithContext 2019-02-21 18:52:01 +01:00
Christopher Batey
111cbc28e9 Make the OO example use classes for all the behaviors (#26407)
Where as it is valid that stateless actors don't benifit I see
java users using the for everything.:wq
2019-02-21 16:49:22 +01:00
Christopher Batey
ea8e3ace33 Harden RateTransformationDocSpec: Use test patience rather than hadcode #26262 2019-02-21 16:42:24 +01:00
Patrik Nordwall
d3836aecfb Command handler builder for EventSourcedBehaviorWithEnforcedReplies, #25482 (#26272)
* It uses ReplyEffect instead of Effect
* Unfortunatley the solution is a copy of the CommandHandler builder with
  a few mechanical changes to the types and names.
* I tried to separate interface and implementation and use a shared implementation,
  but it didn't work out because methods with such function parameters which only differ in
  their type parameters can't be overloaded.
2019-02-17 19:54:32 +00:00
Seth Tisue
fc23f03031 upgrade to latest ScalaTest (#26387)
stuff moved to a new package. you wouldn't expect that in a point
release, but they put type aliases in place so Scala users wouldn't
notice. but the change is visible to Java code.

the upgrade is not strictly necessary, but it would be convenient
for the Scala 2.13 community build to have this merged, so I don't
have to maintain these changes in our Akka fork
2019-02-17 19:45:39 +00:00
Tomek Kopczynski
532a9bc604 Trivial typo fix in Streams docs (#26359) 2019-02-13 13:58:25 +01:00
Christopher Batey
baf74a4fe6
Remote remoting deployment from artery docs (#26342)
* Remote deployment is not recommended and the section is duplicated
from classic remoting
* Move what's new lower down in prep for it becoming the main remoting
page but link to it for users are migration
2019-02-13 07:57:34 +00:00
Johan Andrén
8fabb73f2b Make the AbstractBehavior builder mutable (#26309)
* Make the AbstractBehavior builder mutable #26260

* Use mutable builder style in first sample, mention that fluent is an option

* A bit of rework of the Java builders:

 * onAnyMessage added
 * use the japi SAMs throughout in the APIs
 * avoid wrapping the japi functions in Scala functions for the most common cases
 * more Java test coverage

* Not just any exception

* Works on 2.11 as well as 2.12
2019-02-12 15:38:35 +01:00
Johannes Rudolph
1b9b562696
Merge pull request #26297 from kajebiii/patch-1
move "#start-stop"'s start line
2019-02-07 14:53:35 +01:00
Patrik Nordwall
db30f6a9e0 unsaved actor_top_tree.svg
* svg without saved changes must have been pushed before
2019-02-03 19:25:56 +01:00
o-pikozh
ef3870369a Typo in futures.md (#26316)
Small letter at the start of the sentence.
2019-02-01 08:52:47 +01:00
Patrik Nordwall
9d6aa8ae94
Merge pull request #26289 from akka/wip-javadsl-blog-sample-patriknw
Cleanup javadsl Blog Post sample in Persistence Typed
2019-01-31 16:28:34 +01:00
Patrik Nordwall
dbcc54b0b2
Add and improve javadsl Persistence Typed samples (#26287)
* Complete the javadsl account examples in Persistence Typed docs

* corresponding style variations as in the scaladsl samples
* adding mutable state sample for Java (not interesting for Scala)

* cleanup the first example in Persistence Typed docs

* move ActorContext snip in Persistence Typed docs
2019-01-31 16:27:26 +01:00
Patrik Nordwall
db64a54c69
Merge pull request #26299 from helena/naming-consistency-shard-coordinator
Use one naming convention for ShardCoordinator in doc and logging
2019-01-29 15:06:41 +01:00
Helena Edelson
c3a9cd1fe4 Use one naming convention for ShardCoordinator in doc and logging for search efficiency. 2019-01-29 02:27:45 -08:00
Patrik Nordwall
2c531f0422
Merge pull request #26270 from akka/exampleProjectLinks
Fix dead links to samples
2019-01-29 09:18:03 +01:00
Arnout Engelen
4acfdf6f7b
Merge pull request #26259 from johanandren/wip-26257-cluster-client-caveats-johanandren
Cluster client caveats
2019-01-29 09:12:01 +01:00
Jongbeom Kim
b7eabdee73
move "#start-stop"'s start line
Line 118 : val first = system.actorOf(StartStopActor1.props, "first")

Need "object StartStopActor1" to compile well.
2019-01-29 10:34:58 +09:00
Patrik Nordwall
43a46c3f1b Make discovery and dns APIs stable
* remove ApiMayChange
2019-01-28 20:01:19 +01:00
Patrik Nordwall
491d7efc60 Cleanup javadsl Blog Post sample in Persistence Typed 2019-01-28 07:22:59 +01:00
Arnout Engelen
5701f5fd6d
Fix dead links to samples 2019-01-21 08:51:34 +01:00
Patrik Nordwall
794a8cc6ff Stashing in persistent behavior, #25717
* Effect.stash, Effect.thenUnstashAll
* unstash one at a time, and start with external stash if UnstashAll is in progress
* handle restarts
* handle PoisonPill
* fix PerformanceSpec, because now the internal stash is cleared if exception is thrown
* work with PoisonPill
2019-01-18 17:47:51 +01:00
Patrik Nordwall
a920349090
Merge pull request #25951 from RayRoestenburg/wip-context-operators
SourceWithContext and FlowWithContext
2019-01-18 17:27:10 +01:00
Raymond Roestenburg
d76d259408 Initial SourceWithContext, FlowWithContext, FlowWithContextOps.
(based on https://github.com/akka/akka/compare/master...jrudolph:jr/withContextOps)
2019-01-18 15:54:13 +01:00
Johan Andrén
0be752efcb Cluster client caveats #26257 2019-01-17 19:13:22 +01:00
Pierre-Marie Padiou
dcb17b1d0c Fix comment in hashtag example of streams quickstart doc 2019-01-17 16:51:28 +01:00
Patrik Nordwall
b4fa591d64
Support stop or keep of child actors when parent is restarted, #25556
* stash messages and signals while waiting for children to be stopped
* handle watch of other actors
* exception from unstash
* exception from first setup
* merge RestartSupervisor and BackoffSupervisor
* API change: restartWithLimit => restart.withLimit
* remove unused PreStart
* docs
* move BubblingSample to separate class
* fix: fail after more than limit in restart.withLimit when deferred factory throws
* match case RestartOrBackoff instead
2019-01-17 16:48:22 +01:00
Seeta Ramayya
67902d82bc Corrected documentation (#26159) 2019-01-17 12:16:52 +01:00
Patrik Nordwall
f4defb139b
use receiveOne instead of receiveMessageType, #25914
* use receiveOne instead of receiveMessageType, #25914

* when the type is the same as the probe's type

* formatting

* rename receiveOne to receiveMessage

* rename receiveN to receiveMessages

* have to use different name in javadsl so that became receiveSeveralMessages
2019-01-15 09:23:30 +01:00
hepin1989
998c5a9285 Formatting java codes with sbt-java-formatter. 2019-01-12 04:00:53 +08:00
Arnout Engelen
d274e039f9
Various scala-2.13.0-M5 fixes
fix akka-actor-tests compile errors

some tests still fail though

Fix test failures in akka-actor-test

Manually work arround missing implicit Factory[Nothing, Seq[Nothing]]

see https://github.com/scala/scala-collection-compat/issues/137

akka-remote scalafix changes

Fix shutdownAll compile error

test:akka-remote scalafix changes

akka-multi-node-testkit scalafix

Fix akka-remote-tests multi-jvm compile errors

akka-stream-tests/test:scalafix

Fix test:akka-stream-tests

Crude implementation of ByteString.map

scalafix akka-actor-typed, akka-actor-typed-tests

akka-actor-typed-tests compile and succeed

scalafix akka-camel

scalafix akka-cluster

akka-cluster compile & test

scalafix akka-cluster-metrics

Fix akka-cluster-metrics

scalafix akka-cluster-tools

akka-cluster-tools compile and test

scalafix akka-distributed-data

akka-distributed-data fixes

scalafix akka-persistence

scalafix akka-cluster-sharding

fix akka-cluster-sharding

scalafix akka-contrib

Fix akka-cluster-sharding-typed test

scalafix akka-docs

Use scala-stm 0.9 (released for M5)

akka-docs

Remove dependency on collections-compat

Cherry-pick the relevant constructs to our own
private utils

Shorten 'scala.collections.immutable' by importing it

Duplicate 'immutable' imports

Use 'foreach' on futures

Replace MapLike with regular Map

Internal API markers

Simplify ccompat by moving PackageShared into object

Since we don't currently need to differentiate between 2.11 and

Avoid relying on 'union' (and ++) being left-biased

Fix akka-actor/doc by removing -Ywarn-unused

Make more things more private

Copyright headers

Use 'unsorted' to go from SortedSet to Set

Duplicate import

Use onComplete rather than failed.foreach

Clarify why we partly duplicate scala-collection-compat
2019-01-11 12:27:18 +01:00