Commit graph

21909 commits

Author SHA1 Message Date
jeremystone
e766207a87 alsoTo eager cancellation #24291 2018-02-19 08:31:13 +01:00
Josep Prat
28ae8d4f0e +tkt Provide run method that doesn't canonicalize behavior #24486 (#24487) 2018-02-16 16:14:19 +01:00
Patrik Nordwall
10f651081b
Merge pull request #24531 from chbatey/akka-persistence-recovery-warning
Add warning about AsyncRecovery assumptions c* plugin makes
2018-02-16 14:00:23 +01:00
Nick Aiello
7dde9c374d [#24294] Fix DistributedPubSubMediator not unsubscribing actors from … (#24343)
* [#24294] Fix DistributedPubSubMediator not unsubscribing actors from topics when they terminate.

* Removed rogue "with DeadLetterProbe"

* Update DistributedPubSubMediator.scala
2018-02-16 10:18:57 +09:00
Johan Andrén
14bb878da1
Typed: Renaming deferred to setup #24548 2018-02-15 13:40:26 +01:00
Johan Andrén
cdf36c21f5
Document that a scheduler is needed for standalone typed ask #24219 2018-02-15 13:38:47 +01:00
Christopher Batey
eede5533ac
Chunker should only pull if buffer is empty (#24019)
For the current Chunker if the upstream sends larger messages than the
chunk size the buffer can slowly fill up until the app OOMs. Change it
so it only pulls if the buffer is empty
2018-02-14 16:18:58 +00:00
Johan Andrén
d3b625616a
Generate file to use instead of assuming class loader type #23902
Makes the test pass on JDK 9 where the class loader assumption is not correct anymore.
2018-02-14 10:29:53 +01:00
Catalin Ursachi
ccf5d46a58 Add wireTap combinator (#15077) (#23824) 2018-02-13 20:39:00 +01:00
Arnout Engelen
f2e39c7534 Add example of testing actors with subclassing (#24539) 2018-02-13 19:29:30 +01:00
Johan Andrén
3bd3f00c41
Too many Tocks in typed TimerSpec #24360 2018-02-13 18:08:14 +01:00
Konrad `ktoso` Malawski
1cd370be60
=pro fix osgi plugin muting AutomaticModuleName (#24534)
* =pro fix osgi plugin muting AutomaticModuleName

* Revert "=pro fix osgi plugin muting AutomaticModuleName"

This reverts commit a763353ebf102184c17d78b6bf946cdd0ddff23e.

* =pro update osgi plugin, un-break AutomaticModuleName
2018-02-13 17:29:19 +01:00
Richard Imaoka
b3a27d1c9f Add log() in stream-error.md (#24522)
* Add log() in stream-error.md (#23722)
2018-02-12 14:30:54 +00:00
Johan Andrén
cb048457c8
StreamTcpDocSpec: Less race, better error if client fails #24500 2018-02-12 14:42:52 +01:00
Johan Andrén
4cde6e7feb Less fragile way of waiting for stream completion #24501 (#24528) 2018-02-12 14:38:22 +01:00
Christopher Batey
c5c81dc018 Add warning about AsyncRecovery assumptions c* plugin makes 2018-02-12 13:21:08 +00:00
Johan Andrén
5e6662c97c
Make MetricsBasedResizerSpec a bit slower but less GC sensitive #24397 (#24449) 2018-02-12 13:26:14 +01:00
Richard Imaoka
caabfdecfc =doc cluster client: Introduce javadoc and scaladoc directives (#24524) 2018-02-12 11:02:13 +01:00
Albert Serrallé Ríos
7630939b18 Cancel GroupBy when all substreams cancel (#24438) 2018-02-12 09:59:19 +01:00
Konrad `ktoso` Malawski
232b4d0d7a
Bump sbt to 1.1.1 (#24517) 2018-02-09 00:46:37 +01:00
James Roper
5696a6d3f3 Changed StreamRefs docs title to RS over the network (#24506) 2018-02-08 13:26:17 +01:00
Roman Filonenko
acf8b1b27b throw NoSuchFileException if the file is not there on FileIO.fromPath #24512 (#24513)
* replace deprecated expectNoMsg with expectNoMessage in the test
2018-02-08 09:18:35 +01:00
Arnout Engelen
6012b93c13
Remove auto-fusing option from docs (#24510)
As it has been removed and no longer has any effect
2018-02-07 14:42:06 +01:00
shkoder
1e7608d715 add JsonFraming usage example to the docs #24495 (#24498)
* add JsonFraming usage example to the docs #24495

* Update stream-io.md
2018-02-05 13:41:20 +01:00
Patrik Nordwall
fbfa8685aa
Merge pull request #24496 from akka/wip-small-docs-patriknw
small Typed doc improvements
2018-02-02 17:54:59 +01:00
Christopher Batey
eb1f2a675e Java DSL for typed persistent actors, #24193
* Basic working java api

* Most of the compile only spec in java

* Bits and bobs

* Abstract class for java dsl

* Move to using an abstract class for java dsl

* Wip, playing with not needed classes

* Docs ported to java and removal of the class objects

* java docs for recovery and tagging
2018-02-02 17:53:27 +01:00
Johan Andrén
06b36db458 Actor interaction patterns docs for typed (#24404)
* Request response and actor-to-actor-ask

* Outside of actor ask

* Review feedback plus simplification of tell sample

* ask and mention symbolic

* Final sample and some proof reading feedback adressed

* Tests should pass in InteractionPatternSpec

* Incorrect comment removed

* Made sure all scala samples execute, to protect from regression, added forward refereces in text

* Use context logger

* Some minor rewording

* Feedback applied

* Rebase fix

* expectMessageType
2018-02-02 17:49:03 +01:00
Richard Imaoka
7feca6638b Add serializer for ServiceKey, #23687
* ServiceKeySerializer to only take care of DefaultServiceKey
2018-02-02 17:20:51 +01:00
Patrik Nordwall
d8c9a9ca8c small Typed doc improvements 2018-02-02 17:18:31 +01:00
Johan Andrén
819bb09228 Document failure bubbling in Akka Typed, #22665
* also reworking the supervision thing a bit
2018-02-02 16:34:58 +01:00
Arnout Engelen
7dfd05eaf3 Specific message for serialize-messages errors (#24414)
* Specific message for serialize-messages errors

Give users some pointers where to look when this happens.

* Add copyright header

* Introduce SerializationCheckFailedException

* Use try rather than Try
2018-02-02 23:45:10 +09:00
Patrik Nordwall
570060815b
Merge pull request #24443 from akka/issue-24144
MultiDcSplitBain: only subscribe to unreachable after split
2018-02-02 15:38:53 +01:00
Arnout Engelen
8957a6728f Document how to refer to methods from scaladoc (#24482)
* Document how to refer to methods from scaladoc
2018-02-02 14:11:55 +00:00
Patrik Nordwall
070645767d
Merge pull request #24471 from akka/wip-23686-sharding-patriknw
Sharding API improvements
2018-02-02 15:11:00 +01:00
Patrik Nordwall
f995a7d009 remove PersistentBehaviors.persistentEntity 2018-02-02 14:22:54 +01:00
Arnout Engelen
5fc55ac82c
Document preference of 'internal' package (#24481)
Over `impl` which we also use here and there. We could rename `impl` packages,
but should be careful to check we're not (accidentally?) using them in other modules.
2018-02-02 12:15:41 +01:00
Christopher Batey
6c7839f937 Testkit docs use deprecated messages (#24472)
We also had a deprecated method without implementing
the alternative
2018-02-02 18:12:01 +09:00
Patrik Nordwall
4330e4446e add dataCenter in ClusterSharding API via settings, #23689 2018-02-02 10:10:59 +01:00
Patrik Nordwall
ff05671422 separate scaladsl/javadsl and avoid overloaded spawn, #24470
* copy and amend scaladoc for ClusterSharding extension
2018-02-02 10:10:52 +01:00
Patrik Nordwall
2cd1187e7b entityId => Behavior in ClusterSharding API, #24470
* spawn with String => Behavior since the entityId is often needed
* some type inference is lost, and completely breaks down with overloads
2018-02-02 08:43:11 +01:00
Patrik Nordwall
0cc9785d73 fix Sharding StartEntity, #23679
* previous solution didn't work becuse the untyped StartEntity
  message is sent by untyped sharding itself without the typed envelope
  and null was a bit of a hack
2018-02-02 08:42:59 +01:00
Patrik Nordwall
92de8375db Api improvements of Sharding handOffMessage, #23686
* move definition of handOffMessage to the message extractor
* rename entityMessage to unwrapMessage
* update and cleanup test
2018-02-02 08:38:01 +01:00
Johannes Rudolph
f1aa12daf2 Port WithLogCapturing + Silence TLSSpec (#24476)
* =tkt port WithLogCapturing from akka-http

* =str use WithLogCapturing for very noisy TLSSpec

* =sha use WithLogCapturing to silence noisy CoordinatedShutdownShardingSpec
2018-02-02 09:50:28 +09:00
Patrik Nordwall
90b8774759
Merge pull request #24475 from jrudolph/jr/24456-adapter-exception-handling
#24456 Handle adaption exceptions explicitly
2018-02-01 19:42:34 +01:00
Johan Andrén
9e459f0c04 Supervise also deferred initialization, #24052
* Initial test coverage

* Working except for the restart with exponential backoff

* All lights green

* Update after latest discussion

* Just an extra testcase to cover something I had a gut feeling could be wrong

* Some review and rebase fixes

* Alias and class name conflict

* Stopper implementing init()

* Some final minor fixes

* Rebased, and all exception logs silenced/checked for
2018-02-01 19:41:40 +01:00
Johannes Rudolph
2c71122b7b
=typ #24456 in ActorAdapter catch exceptions from ask/message adapters
Log those and stop the actor manually.
2018-02-01 17:43:17 +01:00
Johannes Rudolph
1a717c02ca
=typ fix race condition in AskSpec 2018-02-01 17:42:30 +01:00
Johan Andrén
3b54f238ea
Ability to disable coordinated shutdown phases #24477 2018-02-01 17:32:10 +01:00
Johannes Rudolph
e4397db44a
Merge pull request #24406 from jrudolph/jr/review-24302
Introduce special starting state in ActorAdapter for guardian actor #24279
2018-02-01 17:20:02 +01:00
Patrik Nordwall
1054b5bd81
Merge pull request #24461 from akka/wip-behaviour-typo-patriknw
change spelling of behaviour to behavior, #24457
2018-02-01 17:13:31 +01:00