Commit graph

23145 commits

Author SHA1 Message Date
Patrik Nordwall
e4d38f92a4 Switch to Scalafmt in build
* AvoidInfix in scalafmt.conf

* align.tokens in scalafmt.conf

* scalafmt in MultiJvm

* sbt-scalafmt 2.0.0-RC5

* scalafmt in all* command alias

* scalafmtAll in CONTRIBUTING.md
2019-03-11 16:56:39 +01:00
Johan Andrén
18710d3aba Check all recipients and msgs are done rather than specific order #26495 2019-03-11 16:51:39 +01:00
Patrik Nordwall
5a36b6a537
Wrap exception from unstash, #26148 (#26396)
* test from other branch
* wrap exception from unstash
* simplify persistence, use the UnstashException there
* incorporate feedback
2019-03-11 10:55:58 +01:00
Varun Sivapalan
26b234e9df Use configuration property for timeout for assertAllStagesStopped #26410 2019-03-11 10:32:37 +01:00
Johan Andrén
210394e9de
Typed persistence stash improvements (#26347)
Changes:
* Setting for handling overflow is now two possible values without dynamic classloading (and no third option that is unsupported for typed)
* Test coverage for overflows when user stashes
2019-03-09 08:35:05 +01:00
Johan Andrén
0ebe54ce74
Typed actor routers #25612 2019-03-08 17:47:08 +01:00
Arnout Engelen
ba2447159a Document publishing branch snapshots #26437 2019-03-08 17:15:37 +01:00
Nicolas Vollmar
44709e6bba Adds docs for actorRef stream integration #24595 2019-03-08 17:13:59 +01:00
Patrik Nordwall
b8c99c5c8a
Merge pull request #26483 from akka/only-https-links
Use only https links to doc.akka.io by now (canonical link in our docs HTML)
2019-03-08 12:21:35 +01:00
Johannes Rudolph
e4f66e40c2
Use only https links to doc.akka.io by now 2019-03-07 17:03:17 +01:00
Johan Andrén
59cae4d07b
Better logging on artery start when bind address used 2019-03-07 14:58:09 +01:00
Johan Andrén
c01e6b6d73
Simplify backoff supervision API #26156 2019-03-07 14:27:27 +01:00
Yoel Garcia Diaz
365172487c
Delete .java-version 2019-03-07 12:34:01 +00:00
Yoel García Díaz
3605aff283 output UID only once for bind and local addresses 2019-03-07 12:33:35 +00:00
Johan Andrén
4117ce4453
Merge pull request #26456 from gbrd/wip-26455-add-marker-support-in-logging-filter
Add marker support in logging filters #26544
2019-03-07 12:38:46 +01:00
Nicolas Vollmar
35207d55aa Moves implementation to internal package #26156 2019-03-07 12:28:07 +01:00
Yoel Garcia Diaz
85ac56d20c formatting 2019-03-07 10:13:54 +00:00
Nicolas Vollmar
4bf1ba0bf0 Updates deprecations and documentation #26156 2019-03-07 09:58:31 +01:00
Yoel Garcia Diaz
639e2a5ae3 single log statement
interpolation made sense here because log.info supports a max of 4 args
2019-03-07 08:34:53 +00:00
Yoel Garcia Diaz
f241e1b860 spelling 2019-03-07 08:29:28 +00:00
Yoel Garcia Diaz
59aaf0a529 spelling 2019-03-07 08:07:38 +00:00
Yoel Garcia Diaz
b2fcc9f1b0 log both listening and binding addresses if they are different 2019-03-07 08:03:39 +00: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
Nicolas Vollmar
6b77500392 Adds new extended backoff API and moves old deprecated API to separate file #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
0abd8bab96 Adding internal api markers and other small corrections #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
a8080a2140 Improving documentation and code style #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
551bbdec77 Hide backoff on stop supervisor implementation #26156 2019-03-07 08:09:11 +01:00
Nicolas Vollmar
d0a5ced319 Simplify backoff supervision api #26156 2019-03-07 08:09:11 +01:00
Yoel Garcia Diaz
9e16c02b0d fix login the bind address when remoting starts 2019-03-07 06:58:28 +00:00
Christopher Batey
f2708c9dd3
Remove outdated comment from build.properties (#26475) 2019-03-06 15:15:46 +00:00
Johannes Rudolph
f1872b773c
Merge pull request #26474 from jrudolph/jr/26330-remove-WithContext-statefulMapContext
!str remove {Source,Flow}WithContext.statefulMapConcat, fixes #26330
2019-03-06 13:19:25 +01:00
Johannes Rudolph
45fa9dd552
!str remove {Source,Flow}WithContext.statefulMapConcat, fixes #26330
statefulMapConcat will by design confound processing of single elements.
However, in the WithContext APIs the user only has access to the elements
but not to the contexts so the association is likely to be wrong in the end.

So, for now, we follow our basic rule not to include potentially order-changing
operations in the WithContext APIs and remove statefulMapConcat. Users that
need something like that should drop to the regular tuple passing APIs and
manage context propagation manually.
2019-03-06 11:53:41 +01:00
Johan Andrén
7900240eb3 Access latestSeqNr in typed persistence (#26261) 2019-03-06 11:27:35 +01:00
Johannes Rudolph
c186c1bde9
Merge pull request #26447 from zhongl/name-typo
Fix typos of OutgoingConnectionStage's port names
2019-03-06 10:33:24 +01:00
Johan Andrén
d52d0c1cce
Merge pull request #26469 from ennru/fix-dead-links
Fix dead links in the docs
2019-03-06 09:57:58 +01:00
Gaël Bréard
1a76faef58 keep original logging filter everywhere it's needed
for binary compatibility

Signed-off-by: Gaël Bréard <gael.breard@orange.com>
2019-03-05 20:46:11 +01:00
Enno Runne
066a692ca1 Fix dead links in the docs 2019-03-05 17:30:27 +01:00
Gaël Bréard
f2aac0a561 reformat code
Signed-off-by: Gaël Bréard <gael.breard@orange.com>
2019-03-05 16:35:35 +01:00
Gaël Bréard
aa74afb8b1 Create a separate trait for filter with marker
to ensure binary compatibility

Signed-off-by: Gaël Bréard <gael.breard@orange.com>
2019-03-05 16:05:21 +01:00
Johan Andrén
aebef217d7
Use AsyncDnsCache directly in DnsServiceDiscovery, #25948 2019-03-05 14:24:08 +01:00
Johannes Rudolph
971bd5159e
act Avoid deadletter access if not needed (#26422) 2019-03-05 14:09:38 +01:00
Helena Edelson
27957649e8
Consolidate duplicate persistence sharding function #26451 (#26452) 2019-03-05 08:05:51 -05:00
Patrik Nordwall
7f0837a550
Merge pull request #26465 from akka/wip-from-tuple-pair-source-patriknw
Adds fromPairs to SourceWithContent object
2019-03-05 11:56:44 +01:00
Patrik Nordwall
6071d890aa
Merge pull request #26464 from akka/wip-toMap-withContext-patriknw
Adds to and toMap to SourceWithContext
2019-03-05 10:06:27 +01:00
Luc Bourlier
c344287b9d Adds fromPairs to SourceWithContent object
Like in FlowWithContext. To simplify the creation of sourceWithContext
from sources with compatible types.
Renames from to fromPairs in FlowWithContext.
2019-03-05 09:56:24 +01:00
Patrik Nordwall
74b2144038
Merge pull request #26462 from akka/wip-26411-withAttributes-withContext-patriknw
Sets correct return type for withAttributes on Source/FlowWithContext
2019-03-05 09:18:19 +01:00
Patrik Nordwall
a0daf3e5eb add runWith to SourceWithContext 2019-03-05 09:17:52 +01:00