Commit graph

22093 commits

Author SHA1 Message Date
zodiake
1a63aa8637 Update PersistenceQueryDocSpec.scala (#24405) 2018-03-12 11:59:56 +01:00
kerr
538a5a4ae6 + actor add java.time.Duration to AbstractFSM ,ActorSelection ,Scheduler and AbstractScheduler. (#24651) 2018-03-12 11:59:00 +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
kerr
33ca78052c = util add Throwables helper to help fatal checking of Throwable for Java,alias with Scala's Nonfatal pattern matching. (#24661) 2018-03-09 17:13:59 +09:00
Richard Imaoka
bcc86f7703 Unidoc directives for cluster md files #22904 2018-03-09 09:12:54 +01:00
Patrik Nordwall
7d67524bb5 lazy init of SerializationExtension in Artery, #24620 (#24667)
to avoid loading serializers before ActorRefProvider has been initialized
2018-03-09 16:59:33 +09: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
Konrad `ktoso` Malawski
5a59a7b362
Revert "TCK: Empty Flow[Int]: onSubscribe should be called prior to onComplete always " (#24678)
* Revert "deduplicate logic for IODispatcher #24604 (#24619)"

This reverts commit 0ecadf7235.

* Revert "ClusterSharding: automatically choose start or startProxy by a node role (#23934) (#24669)"

This reverts commit a13f5cab00.

* Revert "tck issue or bug,  onSubscribe should be called prior to onComplete always (#24582)"

This reverts commit d55990fa64.
2018-03-08 11:47:16 +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
Konrad `ktoso` Malawski
d55990fa64
tck issue or bug, onSubscribe should be called prior to onComplete always (#24582) 2018-03-07 13:05:14 +09:00
Johan Andrén
2df4898f53 Fix a few leftover Behaviors.deferred mentions (#24612) 2018-03-06 10:04:17 +09:00
kerr
97ca714d17 = all remove semicolons "bye-bye semicolon" (#24659) 2018-03-06 09:53:28 +09:00
Francisco José Bermejo Herrera
6646eded2c Add serializer for akka.NotUsed (#24599) (#24600) 2018-03-05 17:38:17 +01:00
Patrik Nordwall
d9249226c0
Merge pull request #24653 from shkoder/fix-trigger-in-digest-cookbook
fix Trigger references in the stream cookbook example for digest #24317
2018-03-05 17:36:51 +01:00
Johannes Rudolph
0da4762073
Merge pull request #24552 from RafalSumislawski/24544-name-affinity-pool-threads
#24544 Add dispatcher name to names of threads created by AffinityPool
2018-03-05 17:18:00 +01:00
Yan Su
519e6ae546 Add java duration support for Source.tick (Java DSL) #24339 (#24645) 2018-03-05 17:13:15 +01:00
Johannes Rudolph
b82024681c
=pro add log timestamps to all sbt output and enable sbt debug logging for multi-jvm for ssh debugging 2018-03-05 16:35:47 +01:00
Patrik Nordwall
0ea8c0d872
Merge pull request #24592 from akka/wip-24576-LargeMessageClusterSpec-patriknw
slowdown LargeMessageClusterSpec for tcp transport, #24576
2018-03-05 16:20:46 +01:00
Patrik Nordwall
1c8a2945ab slowdown LargeMessageClusterSpec for tcp transport, #24576 2018-03-05 15:19:12 +01:00
Thomas Smith
c9969b0bea Add log() method to typed Logging API #24648 2018-03-05 09:10:14 +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
Konrad Malawski
1574faf180 +ben add DirectBufferPoolBenchmark, just for reference 2018-03-01 22:16:18 +09:00
Richard Imaoka
82f50a848a Add unidoc directive for markdowns #24426 2018-03-01 13:35:00 +01:00
Ignasi Marimon-Clos
3de7a4c27c Adds test and caps the timeout check period to 1s #24616 2018-03-01 11:47:02 +01:00
Johan Andrén
c9ff3cbf80
MiMa latest release updated (#24638) 2018-03-01 10:48:40 +01:00
Josep Prat
4661ee03cf Fixes broken test for Scala 2.12 #24617
Refs: #24617
Fixes tests for Scala 2.12.x
There are still some differences between 2.11 and 2.12
2018-03-01 17:25:09 +09: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
Johan Andrén
b7cc50cdd6
2.5.10 wire protocol regression (#24625) 2018-02-28 09:46:37 +01:00
Ignasi Marimon-Clos
58c00b67e5 Remove "them them" (#24613) 2018-02-23 14:05:54 +01:00
Patrik Nordwall
9330969450
Merge pull request #24611 from akka/wip-minor-tcp-doc-patriknw
small adjustment of the aeron vs tcp documentation
2018-02-23 11:32:01 +01:00
Filip
cdc0fd3e3d Avoid infinite recursion in AbstractPersistentFSM, #24448 2018-02-23 10:50:32 +01:00
Patrik Nordwall
cf312703fa small adjustment of the aeron vs tcp documentation 2018-02-23 10:41:21 +01:00
Patrik Nordwall
488c22561f
Merge pull request #24606 from akka/wip-deprecated-blocking-io-dispatcher-patriknw
fix blocking-io-dispatcher setting, #24357
2018-02-22 19:11:00 +01:00
Patrik Nordwall
8a662bdc24 fix deployRsync param in release script 2018-02-22 18:06:37 +01:00
Patrik Nordwall
cd95979ed7 fix blocking-io-dispatcher setting, #24357
It must still have a valid value becuase used from Akka HTTP.
2018-02-22 18:03:08 +01:00
Johan Andrén
fd6f30673a Actually use the relative blocking io dispatcher setting #24357
* Remove docs and have only deprecation comment on old setting
* ConfigFactory.load fixed
2018-02-22 13:42:59 +01:00
Patrik Nordwall
89d5b5d00e
Merge pull request #24603 from akka/wip-24511-receptionist-ask-improvements-patriknw
Receptionist message improvements, #24511 and #24492
2018-02-22 13:41:52 +01:00
Johan Andrén
14773ad2d4 Receptionist message improvements, #24511 and #24492 2018-02-22 12:58:28 +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
Patrik Nordwall
c5de70db10
Merge pull request #24589 from akka/wip-23683-prune-receptionist-patriknw
prune entries in ClusterReceptionist from nodes that have been removed, #23683
2018-02-22 12:38:43 +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
d6000df367 =str add simplified ask(ref) that defaults parallism 2 2018-02-22 19:50:46 +09: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
Josep Prat
5040ce82f1 LineNumbers for Lambda's #24480 2018-02-22 11:29:08 +01:00
Patrik Nordwall
c15c22622e use Flow.lazyInit in Artery TCP (#24590) 2018-02-22 19:18:44 +09:00
Patrik Nordwall
a89268ee45 ambiguous method byteBuffer.limit with jdk9 (#24593)
```
[error] /localhome/jenkinsakka/workspace/akka-nightly-jdk9/akka-remote/src/main/scala/akka/remote/artery/tcp/ArteryTcpTransport.scala:160:35: ambiguous reference to overloaded definition,
[error] both method limit in class ByteBuffer of type (x$1: Int)java.nio.ByteBuffer
[error] and  method limit in class Buffer of type ()Int
[error] match expected type ?
[error]         val size = env.byteBuffer.limit
```
2018-02-22 16:52:34 +09:00