Commit graph

23541 commits

Author SHA1 Message Date
Patrik Nordwall
375228273f
Improve logging in DistributedData extension (#27051)
* and don't load extension from ClusterReceptionist since that will
  trigger the warning logging if role is defined
2019-06-03 09:31:28 +02:00
Enno
c5e9b5918c
Set useful description in sbt setting (#27059) 2019-06-02 13:42:01 +02:00
Enno
89544bcab1
Update links of moved modules to doc.akka.io (#27058) 2019-05-31 18:59:01 +02:00
Enno Runne
b64e4c48c7 Update links of moved modules to doc.akka.io [skip ci] 2019-05-31 16:17:02 +02:00
Arnout Engelen
eca459e461 Include fan-out operators in the operator index (#27028) 2019-05-31 12:56:25 +02:00
Bartosz Firyn
e61703bb4a Update reference.conf (#27048) 2019-05-31 11:27:56 +02:00
Johan Andrén
8ddd82af7b
FJP starvation spec #26973
This doesn't change the fact that the FJP in JDK 11 is less fair but makes the test pass:

* Disable serialize messages to make each message processing less CPU-intense
* Tune the throughput down to the default (was a very high value, 100), so less messages are worked through in one batch of internal dispatch.
2019-05-31 09:14:19 +02:00
Christopher Batey
e855db8825
Harden RemotingSpec: Retry if address is taken (#26795)
* Harden RemotingSpec: Retry if address is taken

The test requires that the ActorSystem not be started when doing the
selection to using port = 0 is not an option.

Fixes #25657
2019-05-30 10:59:01 +01:00
Helena Edelson
9f19e4972b
Better indicator of ActorRefProvider implementation selection (#27012) 2019-05-29 12:01:02 -07:00
Christopher Batey
bb2b59d7c2
Don't log internal messages as an event (#27014)
* Don't log internal messages as an event
2019-05-29 15:21:16 +01:00
Christopher Batey
6754bf7f73 Remove JavaTestkit (#27022)
* Remove JavaTestKit

* mima

* Also remove Caching partial function

* Formatting

* Update akka-docs/src/main/paradox/project/migration-guide-2.5.x-2.6.x.md

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-05-29 15:45:20 +02:00
Christopher Batey
3888de23ed Remove ApiMayChange from coordination module (#27026)
Note that it will be fully stable in 2.6.0 so no guarantees for milestones before that.

* remove api may change from sharding lease settings
* mima
* Remove settings from module
2019-05-29 15:41:16 +02:00
Christopher Batey
37f42d3220 Remove API may change from akka typed (#27027)
Note that it will become fully stable in 2.6.0 so this doesn't mean that there will be no more API changes.

* Remove from event sourced behavior
* Remove api may change settings from typed modules
* Dont check mima for typed until 2.6
2019-05-29 15:38:14 +02:00
Patrik Nordwall
11453aad5d
Merge pull request #27045 from chbatey/scalafmt-RC7
Upgrade scalafmt to 2.0.0-RC7
2019-05-29 15:21:11 +02:00
Johan Andrén
515be3a085
No printlns on my guard (#27046) 2019-05-29 13:43:36 +02:00
Christopher Batey
c46a75247a Upgrade scalafmt 2019-05-29 10:20:45 +01:00
Christopher Batey
96eed177dc
Make netty and aeron dependencies optional (#27017)
* Make netty and aeron dependencies optional
* Include agrona as a mandatory dependency (used in compression tables)
Refs #25169
2019-05-29 09:50:28 +01:00
Arnout Engelen
cd6d90097e
Use travis stages (#27032)
* Use travis stages (#27015)

* 'include' jobs

* run test for both scala versions
2019-05-29 09:48:54 +02:00
Arnout Engelen
34ac92df72
Fix some documentation whitespace (#27036) 2019-05-29 09:48:13 +02:00
Johan Andrén
fd45fcf58e
Complete ZipLatest when upstream completes without emitting #26711 2019-05-29 08:43:09 +02:00
Johan Andrén
e6cdb01aa1
Delegate stop method on TestKitJunitResource #27007 2019-05-29 08:29:49 +02:00
Christopher Batey
e7672a9802
Remove various features deprecated since 2.5.0 (#27023)
* Remove various features deprecated since 2.5.0
2019-05-29 07:10:40 +01:00
Christopher Batey
28fbd28e7a
Various internal stable markers (#27004) 2019-05-29 07:09:12 +01:00
Eric Loots
31f6170c62 Fix typo in expanded SRV query (#26998)
The "serviceName" is not prepended with an underscore when querying
for a DNS SRV record.
2019-05-27 15:32:57 +02:00
Johannes Rudolph
1bc9a5f388 act: TcpConnection: ignore late signals from SelectionHandler while shutting down (#26996) 2019-05-27 13:34:32 +02:00
Patrik Nordwall
7bd0cc746f
Merge pull request #27021 from akka/wip-release-script-213-workaround-patriknw
workaround in release script for missing Jackson dependency for Scala 2.13.0-RC2
2019-05-24 12:25:21 +02:00
Patrik Nordwall
9b46a789ab workaround in release script for missing Jackson dependency for Scala 2.13.0-RC2
* Thought that the `crossScalaVersions -= Dependencies.scala213Version` in
  the akka-serialization-jackson project would work also for the +buildRelease, but
  in dry-run it didn't so building twice with explicit Scala versions instead.
* akka-serialization-jackson is then excluded from the aggregate for 2.13
2019-05-24 11:31:21 +02:00
Patrik Nordwall
1d103227f2
Merge pull request #27016 from akka/wip-26866-whitesource-patriknw
remove upload of whitesource report from release script, #26866
2019-05-24 11:24:29 +02:00
Patrik Nordwall
799e3b6f46
Merge pull request #27013 from akka/wip-26971-typed-scheduler-patriknw
Specific minimal scheduler API for typed #26971
2019-05-24 11:23:02 +02:00
Patrik Nordwall
7c18a01b26
Merge pull request #26870 from akka/wip-24155-jackson2-patriknw
Jackson serializer as replacement for Java serialization, #24155
2019-05-24 11:20:49 +02:00
Johan Andrén
604523ba18 Specific minimal scheduler API for typed #26971
* migration guide entry
* ManualTime was making assumptions about scheduler
* Add API compile tests for good measure
* named scheduleAtFixedRate instead of schedule
2019-05-24 10:05:53 +02:00
Patrik Nordwall
1c09e07648 remove upload of whitesource report from release script, #26866
* to avoid it for milestones
* will be done by Travis on tag build instead
2019-05-24 09:11:12 +02:00
Patrik Nordwall
6122966fca Jackson serializer as replacement for Java serialization, #24155
* Copied from Lagom, with the following differences
  * Jsonable and CompressedJsonable not included
  * pcollection and guava modules not enabled by default
  * added scala and afterburner modules
* JSON, CBOR and Smile options (different serializers)
* JMH benchmark
* jackson version 2.9.9
* test polymorphism
* serializer for ActorRef
* Address serializer
* FiniteDuration serializer, same as java.time.Duration
* use blacklist from Jackson databind against gadgets
* disallow binding to open ended types, such as java.io.Serializable
* Configurable ObjectMapper ser/deser features
* testing date formats with WRITE_DATES_AS_TIMESTAMPS on/off
* ActorSystemSetup for ObjectMapper creation
  * and possibility to lookup created ObjectMapper via ObjectMapperProvider extension
* createObjectMapper without ActorSystem, needed by Lagom test
* add basic docs
* skip Scala 2.13 for akka-serialization-jackson for now, until the Jackson
  Scala module has been released
2019-05-24 09:03:45 +02:00
Nicolas Vollmar
dd6924465b Use function instead of scala partial function for java api #26970 (#26972)
* Use function instead of scala partial function for java api #26970

* Remove deprecated function #26970
2019-05-24 08:13:22 +02:00
Arnout Engelen
814cfa286c Scala 2.13.0 rc2 (#26967) 2019-05-24 08:11:50 +02:00
Patrik Nordwall
24a3bba135
Add reason for deprecating TypedActor, #25516 (#26993)
* Add reason for deprecating TypedActor, #25516

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-05-24 08:07:58 +02:00
Johan Andrén
2051b7ce6b Routers.pool now takes a factory (#26987)
Previously took a Behavior which made it impossible to safely use an
AbstractBehavior with mutable state as routees without using Behaviors.setup
2019-05-23 18:26:17 +02:00
Patrik Nordwall
8d1dcea5d2
ClusterReceptionist using own ddata Replicator #26936 (#26994)
* ClusterReceptionist using own ddata Replicator #26936

* otherwise application configuration, such as role may break it
* creating it as a child actor, path will be same on all nodes
* rolling update from 2.5 not supported
* mention in migration guide

* update migration note about receptionist rolling update
2019-05-23 18:21:34 +02:00
Arnout Engelen
686b36962e
Don't branch while releasing (#26966)
Don't introduce a new branch while releasing, so the release is just a tag on
master.

Use -Dakka.build.version to pass version to sbt

See also #26675.
2019-05-23 17:48:48 +02:00
Christopher Batey
138ffe25d7
Hooks for Akka Persistence Typed lifecycle (#26999) 2019-05-23 15:10:32 +01:00
Johan Andrén
55ae1ad5c4
Stash before getting first listing in group router #26951 2019-05-23 14:58:19 +02:00
Patrik Nordwall
a6f717c9b0 fix a race condition in ClusterReadView #24710 (#26922)
* remove lazy initialization for _cachedSelf
* don't update _state and friends after close()
2019-05-23 14:08:25 +02:00
Arnout Engelen
3015f197f1
Typed testing docs: imports and scalatest dependency (#26890) 2019-05-23 14:05:06 +02:00
Patrik Nordwall
7815d16e94
Merge pull request #26997 from akka/wip-travis-branches-patriknw
specify travis safelist for branches
2019-05-23 13:02:13 +02:00
Patrik Nordwall
2fd7b83637 specify travis safelist for branches
* master, release-2.5
* release tags, e.g. v2.5.24, v2.6.0-M2
2019-05-23 08:39:39 +02:00
Patrik Nordwall
737eb30d04
Merge pull request #26995 from akka/wip-2.5.23-master-patriknw
update latestPatchOf25 to 2.5.23
2019-05-22 21:22:30 +02:00
Patrik Nordwall
7a2ce2826a update latestPatchOf25 to 2.5.23
* also minor update of release instruction
* moved some mima filters to 2.5.x
2019-05-22 16:39:19 +02:00
Arnout Engelen
dcf61a83c0
More specific test timing expectations (#26918)
* More specific test timing expectations (#22098)

* Add another retry to justify the wider expectMsg margin
2019-05-22 16:38:10 +02:00
Patrik Nordwall
7e31ff719b
Merge pull request #26943 from akka/wip-26942-ddata-alias-patriknw
add missing unapply for response types in DData Typed, #26942
2019-05-21 21:12:33 +02:00
Patrik Nordwall
0458b5624d
Merge pull request #26980 from helena/deprecate-actor-typedactor
Deprecate akka.actor.TypedActor #25516
2019-05-21 21:06:23 +02:00