Commit graph

19991 commits

Author SHA1 Message Date
Konrad Malawski
0127d4f424 +str #18793 StageLogging that allows logger access in stages (#21696)
* +str #18793 StageLogging that allows logger access in stages
Also, non ActorMaterializers can opt-into providing a logger here.

* +str #18794 add javadsl for StageLogging

* fix missing test method on compile only class
2016-10-28 16:05:56 +02:00
Patrik Nordwall
b775db0be3 Merge pull request #21613 from akka/wip-21194-sharding-min-members-patriknw
shard coordinator should wait until min-members regions registered, #21194
2016-10-28 15:50:08 +02:00
Patrik Nordwall
141318e60a shard coordinator should wait until min-members regions registered, #21194 2016-10-28 15:49:21 +02:00
Patrik Nordwall
1ff1f5edee small test changes for Scala 2.12 (#21738) 2016-10-28 14:59:08 +02:00
Konrad Malawski
a0e2286b70 +doc #21668 better docs for configuring ssl (#21730)
* +doc #21668 better docs for configuring ssl

* address some comments, need to address the rest
2016-10-28 14:58:32 +02:00
Konrad Malawski
92671e6d98 +act,rem,str add SECURITY marker to logs (#21749)
* +act,rem,str add SECURITY marker to logs

* Update TlsSpec.scala
2016-10-28 14:52:17 +02:00
Patrik Nordwall
9be7df1527 send terminationMessage to singleton when leaving last, #21592 (#21654)
* send terminationMessage to singleton when leaving last, #21592

* When leaving last node, i.e. no newOldestOption, the manager was
  just stopped. The change is to send the terminationMessage also
  in this case and wait until the singleton actor is terminated
  before stopping the manager.
* Also changed so that the singleton is stopped immediately when
  cluster has been terminated when last node is leaving, i.e.
  no newOldestOption. Previously it retried until maxTakeOverRetries
  before stopping.
* More comprehensive test of this scenario in ClusterSingletonManagerLeaveSpec

* increase test timeout
2016-10-28 14:23:18 +02:00
Roland Kuhn
021c2cbfdd Scala 2.12 does not name mangle private fields (#21742)
When we can emit a private field, no need to mangle its name

https://github.com/scala/community-builds/pull/317\#issuecomment-254931492
2016-10-28 13:00:34 +02:00
Patrik Nordwall
84184fe1a2 Merge pull request #21727 from dragos/issue/misplaced-file
Update package declaration to fit directory.
2016-10-28 12:06:11 +02:00
Johannes Rudolph
ff78b84233 =rem #13874 cleanup SSLSettings (#21746) 2016-10-28 11:45:48 +02:00
Iulian Dragos
abf8b1155c Update package declaration to fit directory. 2016-10-27 18:03:34 +02:00
Björn Antonsson
3e55aa5555 Merge pull request #21737 from bantonsson/make-akka-scala-nightly-great-again
Make the akka-scala-nightly project work as expected
2016-10-27 17:21:47 +02:00
Johan Andrén
33ece118a8 New EventEnvelope including Offset rather than Long #21722 2016-10-27 15:32:10 +02:00
Konrad Malawski
3951cf4e68 +slf,act #21671 allow using Markers with LoggingAdapter (#21707)
* +slf,act #21671 allow using Markers with LoggingAdapter

* +slf,act #21671 allow using Markers with LoggingAdapter

* improve compatibility

* add docs

* address review comments

* actually print the marker
2016-10-27 15:07:59 +02:00
Björn Antonsson
17eafffab8 Make the akka-scala-nightly project work as expected
* Added new scala-java8-compat version for Scala 2.12.0-RC2+
* Fixed a diff between ProjectRef and Project that never matched
2016-10-27 13:02:23 +02:00
Martynas Mickevičius
650abe19d6 Add apiURL setting for cross-linking scaladoc in projects depending on Akka (#21734) 2016-10-27 11:29:15 +02:00
Sergey Kisel
26fedc0e36 Test case for persistence plugins re large snapshots #21704 2016-10-27 09:20:38 +02:00
Ortigali
f970412af7 Rewrite Sink.ignore as a GraphStage #21527 2016-10-26 12:38:49 +02:00
Patrik Nordwall
aa8c253d14 improve streams actor integration docs, #21698 (#21700)
* mapAsync + ask should be the first choice
* add missing Source.queue
* prefer actorRefWithAck
* move ActorPublisher and ActorSubscriber to the end
  with additional warning
* fix wrong doc of SourceQueue offer
* and add missing java api
2016-10-26 10:24:51 +02:00
Konrad Malawski
bcf4de5b2c +str #20795 IOResult construction exposed, in bincompat way (#21070)
* +str #20795 IOResult construction exposed, in bincompat way

Thanks https://github.com/ktoso/kaze-class ;)

* Addressed feedback in IOResult

* Update IOResult.scala

* Update IOResult.scala
2016-10-24 17:00:51 +02:00
Konrad Malawski
101772fb8c remove akka parsing (moved to akka/akka-http) (#21721) 2016-10-24 16:54:32 +02:00
Konrad Malawski
ad3ef5982c +rem remote deployment whitelist feature (#21676)
* +rem remote deployment whitelist feature (initial commit)

+rem remote deployment whitelist feature (initial commit)

* +doc,rem added docs on remoting whitelist

* Update remoting.rst

* Update remoting.rst
2016-10-24 13:44:15 +02:00
Konrad Malawski
46f7eef3d9 +doc add missing java documentation for scanAsync/foldAsync (#21701)
* +doc add missing java documentation for scanAsync/foldAsync

=doc fix formatting in stages overview (scanAsync/foldAsync)

* Future => CompletionStage
2016-10-24 13:31:47 +02:00
Patrik Nordwall
f49dc3eae8 Merge pull request #21715 from wojtasskorcz/wip-mutable-syntax-for-receive-builder
Make ReceiveBuilder a real mutable builder #18894
2016-10-24 13:30:06 +02:00
Richard Imaoka
afa92f9209 Add DistributedPubSub message guarantee in doc (Fixes #21441) (#21713) 2016-10-24 12:21:07 +02:00
Wojciech Grajewski
7eb4afc475 Adding create() to ReceiveBuilder to promote a builder-like syntax #18894 2016-10-23 22:35:18 +02:00
Patrik Nordwall
679db55eca increase test timeout in PersistentFSMSpec, #20725 (#21694)
* and add remainingOrDefault in Java testkit
2016-10-21 16:50:44 +02:00
Konrad Malawski
385ea37497 +doc,per #21689 document calling persist() in Future is unsafe (#21699)
* +doc,per #21689 document calling persist() in Future is unsafe

* Update persistence.rst

* Update persistence.rst
2016-10-21 16:36:11 +02:00
Mateus Dubiela Oliveira
c3803d6edf Add documentation to contributing workflow (#21703)
* Add documentation to contributing workflow

* fix typo

* Update CONTRIBUTING.md
2016-10-19 18:26:26 +02:00
Martynas Mickevičius
9de9642d75 Merge pull request #21697 from 2m/wip-21122-actors-leak-spec-eventual
Add a retry for a check for stopped actors
2016-10-19 07:10:38 -05:00
Johan Andrén
c7163c2d0c Increased timeout in long running test FramingSpec #21673 (#21686)
* Increased timeout in long running test FramingSpec #21673

* Increase default polling interval for futureValue in our tests
2016-10-19 12:20:34 +02:00
Johan Andrén
50370c69a3 ByteString.indexOf optimized to speed up framing stage #21530 2016-10-19 11:26:50 +02:00
Patrik Nordwall
3c8edee26a harden AtLeastOnceDeliverySpec, #20724 (#21695)
* the reason for the failure was unexpected redelivery because
  the too short 1 second redelivery interval
2016-10-19 10:13:01 +02:00
Martynas Mickevičius
b9da5a76de Add a retry for a check for stopped actors #21122 2016-10-19 09:33:28 +03:00
Patrik Nordwall
6cbfed975b harden CompressionIntegrationSpec, #21616 (#21692) 2016-10-18 20:24:39 +02:00
Konrad Malawski
a6a5556a8f Remove Akka-HTTP sources from akka/akka, moving to akka/akka-http! (#21690) 2016-10-18 15:17:17 +02:00
Patrik Nordwall
09a6d2ede1 Merge pull request #21687 from akka/wip-21330-patriknw
Added a flag on takeWhile to allow it to include the final element, #21330
2016-10-18 14:58:53 +02:00
Konrad Malawski
8168394d13 Add missing copyright header to DispatcherShutdownSpec 2016-10-18 14:08:54 +02:00
Martynas Mickevičius
954161c5b9 #21574 Fix dispatcher use after system termination 2016-10-18 14:08:54 +02:00
Ortigali
db482180b6 Removing floating point arithmetic in LARS.roundUp method (#21473) 2016-10-18 12:38:52 +02:00
Johannes Rudolph
5b1966aefb =doc fix typo 2016-10-18 12:23:58 +02:00
Falmarri
a28d2c579f Added a flag on takeWhile to allow it to include the final element, #21330 2016-10-18 12:02:59 +02:00
Kirill Yankov
7eb660b497 Add expectNextChainingPF method to streams testkit #21614 (#21617)
Add expectNextChainingPF method to streams testkit #21614

Improved error messages on expectNextPf, expectNextPfChaining, expectEventPF
2016-10-17 18:08:09 +03:00
Richard Imaoka
375c032604 eventsByTag and currentEventsByTag to use Offset (#21615)
* EventsByTagQuery2 and CurrentEventsByTagQuery2 to keep binary compatibility
2016-10-17 16:45:27 +02:00
Mateus Dubiela Oliveira
c3abde60d5 Add scanAsync to Akka Streams, similar to scan but taking a Future (#21553)
* Add comprehensive tests
* Add documentation

* Damn comma after rebase

* Add documentation for foldAsync and scanAsync

* Rename aggreator and aggreating to current

* Remove out availability check

* Revert removing out and some refactors

* Formatting documentation

* Use after instead of Promise in test

* Use package reference to after and some refactoring
2016-10-17 16:43:11 +02:00
Spencer Judge
60bea26171 20597 - Make BackoffSupervisor respect OneForOneStrategy's maxNumRetries property (#20772)
* Added support for withinTimeRange property of OneForOneSupervisor to BackoffSupervisor
2016-10-17 15:22:32 +02:00
Patrik Nordwall
32246ca163 Merge pull request #21682 from akka/wip-21583-aeron-1.0.2-patriknw
update to Aeron 1.0.2, #21583
2016-10-17 13:58:46 +02:00
monkey-mas
1a6fb98e78 =act add benchmark of ByteString#take(...) (#21540)
* =act add benchmark of ByteString#take(...)

Added a benchmark code to measure use-case performance.

ref. https://github.com/akka/akka/pull/21438

* Corrected benchmark code
2016-10-17 13:11:26 +02:00
Martynas Mickevičius
1e85e1720c #17717 handle OnComplete in ActorSubscriber doc samples 2016-10-17 11:07:40 +02:00
Patrik Nordwall
6c78874a88 update to Aeron 1.0.2, #21583
* important bug fix in Aeron: real-logic/Aeron#281
2016-10-17 10:23:30 +02:00