Commit graph

23633 commits

Author SHA1 Message Date
Arnout Engelen
75af2fd3da
Initial release drafter template 2019-06-24 11:17:39 +02:00
Helena Edelson
cc430fe4d0
Fixed test tagged as IgnoreForScala212 ran in nightly not hit in other CI jobs, just needed the new akka.remote.use-unsafe-remote-features-without-cluster = on. (#27202) 2019-06-22 08:29:03 -07:00
Pritam Kadam
759673569a Adding WatchedWith effect in akka actor typed testkit #27190 (#27195) 2019-06-21 07:59:32 -07:00
Helena Edelson
59f1a05819
Docs: make rolling restarts/upgrades/updates more prominent, easier to find #27039 (#27186) 2019-06-21 07:33:32 -07:00
Helena Edelson
25b5daa617
Akka Typed Add example of how to java getSelf for persistence typed #27061 (#27196) 2019-06-21 07:30:33 -07:00
Helena Edelson
611e32de91 Disable remote watch and remote deployment outside Cluster (#27126) 2019-06-21 14:15:36 +02:00
Patrik Nordwall
8757e35b7e Don't passivate idle for remembering entities (#27177) 2019-06-21 04:40:25 -07:00
Helena Edelson
37abbea118
Merge pull request #27174 from akka/wip-artery-port-patriknw 2019-06-20 16:12:16 -07:00
yiksanchan
a09d7e27be Fix typo (#27187) 2019-06-20 14:57:37 +02:00
Helena Edelson
eab2b96bd7
Merge pull request #27173 from akka/wip-27172-increase-fd-nodes-patriknw 2019-06-20 04:22:10 -07:00
yiksanchan
a50a06845a Fix grammar (#27185) 2019-06-20 08:18:08 +02:00
Christopher Batey
c1237a2448
Fix authors script to run with 2.13 (#27145) 2019-06-19 08:54:07 +01:00
Helena Edelson
2fbeca4a45
Merge pull request #27171 from akka/wip-27169-InitJoin-patriknw
Handle InitJoin messages correctly, #27169
2019-06-18 15:03:15 -07:00
Patrik Nordwall
f2dd10ceb9 Mention Artery port 25520 in migration guide 2019-06-18 18:40:03 +02:00
Patrik Nordwall
8752a3acdb increase monitored-by-nr-of-members config, #27172 2019-06-18 18:28:37 +02:00
Patrik Nordwall
74238f1cf2 Handle InitJoin messages correctly, #27169
* IntiJoin message changed from companion message to case class with config
  parameter when the join compat check was added. Some `case InitJoin =>` were
  not changed.
* Resulting in unhandled InitJoin and no InitJoinNack replies.
2019-06-18 17:39:22 +02:00
Christopher Batey
df7e5578bb
Revert to 0.4.* of ssl config for 2.13 (#27152)
We've released 2.5.23 for 2.13 with 0.4.0 but this changes the default
behavior. This reverts that so the first release we are binary compat
for 2.13 will be 2.5.24.

For 2.6 we can still perhaps upgrade
to 0.4.0 and document or override the new behavior.

Refs #27142
2019-06-18 15:21:26 +01:00
Dale Wijnand
de9643efa0 Simplify the definition of ActorRef#narrow (#27080) 2019-06-18 16:00:51 +02:00
Charies Gavin
d50674ab49 Doc improvements (#27166)
* cluster-metrics.md - delete duplicate dependency content
* futures.md - delete a redundant parentheses
* event-bus.md - delete redundant descriptions of event-bus
* howto.md - Set keywords in highlighted format
2019-06-18 13:34:45 +02:00
Jakub Kahovec
04e83ffc7c Allow specifying a log level when logging exceptions being seen the SupervisorStrategy (#27147)
* Allow specifying a log level when logging exceptions being seen the SupervisorStrategy. #27133
* Add tests which verify Supervisor logging behaviour for provided log level
2019-06-18 12:04:44 +02:00
Christopher Batey
21c34361cd Fix error in sharding message flow description (#27161) 2019-06-18 12:01:11 +02:00
Johan Andrén
44043447d1 Some old netty config paths in tests fixed (#27159) 2019-06-18 10:20:06 +02:00
Enno
be67fb2ce5 Revise modules listing (#27146) 2019-06-17 18:28:30 +02:00
Arnout Engelen
af3ee37d6c
Option to target system JDK instead of JDK8 (#27083)
Inspired by the proposal by @nvollmar in 0940dfc
2019-06-17 16:55:54 +02:00
Patrik Nordwall
51789515f2
Merge pull request #27144 from akka/bundling
Consolidate 'fat jar' docs
2019-06-17 13:05:15 +02:00
Patrik Nordwall
4f97435787
Merge pull request #26526 from hepin1989/create-method
Add a create method with context and namePrefix to ActorMaterialize‘s Java API.
2019-06-17 12:57:26 +02:00
hepin1989
48fe57a3f7 Add a create method with context and namePrefix to ActorMaterializer's Java API. 2019-06-16 13:43:07 +08:00
franciscolopezsancho
ebe272212d changing logging error as previous wasn't proper english (#27138) 2019-06-14 14:12:48 +02:00
Arnout Engelen
1177afe887
Consolidate 'fat jar' docs (#24248)
This moves the Maven documentation from the 'configuration' section to the
'deploy' section, and adds documentation for Gradle.

A further improvement would be to split up the current 'deploy' docs and
separate 'bundling' from 'deploying', but that is for a future PR.
2019-06-14 11:30:53 +02:00
Patrik Nordwall
beaa80b773
Merge pull request #26813 from akka/wip-26709-ask-ExpectingReply-patriknw
Type inference for EntityRef.ask, #26709
2019-06-14 11:18:26 +02:00
Patrik Nordwall
af525fd82a
Make Artery connect failure logging less verbose, #26865 (#27073)
* silence "Restarting graph due to failure" logging by RestartFlow, #26865
* only log first error in connectionFlowWithRestart as warning and then debug
* avoid double logging of connection refused
* mima
2019-06-14 11:17:16 +02:00
Christopher Batey
31def7049a Make Behaviors.intercept a factory () => BehaviorInterceptor, #26728 (#27102) 2019-06-14 11:16:12 +02:00
Patrik Nordwall
edbe7d08fc
Merge pull request #27141 from chbatey/migration-entity-ref
Fix entity ref link in migration guide
2019-06-14 11:05:47 +02:00
Patrik Nordwall
9e2ea2579b Type inference for EntityRef.ask, #26709
* move AccountExample to Sharding, to be able to test with EntityRef etc
* add tests for AccountExample
* for javadsl there is a problem
* explicity replyTo type solves javadsl issue
* use EventSourcedEntity.withEnforcedReplies
* try replyTo with super type AccountCommandReply
* Reply <: AccountCommandReply
* replace lambda with method (constructor) reference
2019-06-14 10:16:33 +02:00
Christopher Batey
dd13f559b8 Fix entity ref link in migration guide 2019-06-14 08:58:26 +01:00
Patrik Nordwall
beea76902e cross release again (#27140) 2019-06-14 08:57:41 +01:00
Christopher Batey
a871176fd6 Use Duration in javadsl.EntityRef.ask (#27098)
Refs #26812
2019-06-14 09:17:19 +02:00
Patrik Nordwall
57fd889548
remove Jackson afterburner, since no visible improvement #24155 (#27064)
* remove Jackson afterburner, since no visible improvement #24155

* add back timeMessage benchmark

* improve custom mapper test
2019-06-13 21:53:21 +02:00
Christopher Batey
fd1acb9326 Upgrade to Aeron 1.19.1 (#27043)
* Upgrade to Aeron 1.19.1

No mention of on the wire incompatibilities in release notes for
versions 1.15->1.19

* fix compilation issue with new aeron

* Set default publication unblock timeout to 40s

This needs to be bigger than the liveness timeout. Aeron
defaults these to 5seconds and 10seconds. Akka uses 20s
for the liveness so use 40s for the unblock to keep the same
relation between the properties as Aeron has.

* Add publication unblock timeout in sharedmedia driver

* Update akka-remote/src/main/scala/akka/remote/artery/ArterySettings.scala

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-06-13 21:44:29 +02:00
Patrik Nordwall
6660e8504a
Remove Jackson Smile format, #24155 (#27105)
* No clear advantage over CBOR
* One less choice for users
* CBOR seems to have a stronger specification and therefore potential
  for wider adoption
* Performance of CBOR is equals to Smile
* Smile can be slightly more compact
  (I think it does more to reduce repeated field names),
  but that might be better to solve with good compression
2019-06-13 17:40:24 +02:00
Christopher Batey
6e93bef605
Enable Jackson for 2.13 (#27136)
* Enable jackson for 2.13

* Fix 2.13 warnings in jackson module
2019-06-13 16:17:04 +01:00
Patrik Nordwall
893bd8b74b
Remove ActorContext parameter from javadsl.ReceiveBuilder, #27120 (#27121)
* Remove ActorContext parameter from javadsl.ReceiveBuilder, #27120

* functional style in javadsl
* in Java it's more practical to have an enclosing class to hold
  initialization parameters and ActorContext
* writing behaviors as pure static methods will be unlikely be used in Java
* it's still possible to write behaviors as static methods by passing
  the context around, in same way as all other things
* better to embrace the enclosing class pattern and therefore remove
  the context parameter from the message handlers
* style cleanup of ChatRoom sample
* migration guide
2019-06-13 16:10:40 +02:00
Patrik Nordwall
f004a574b4 Widen and timers can be used together, #25318 (#27128)
* because timers are not implemented with interceptor any more,
  https://github.com/akka/akka/pull/26650
2019-06-13 06:11:06 -07:00
Christopher Batey
231f0d6bb1 Remove warnings from akka-stream-tests (#27114) 2019-06-13 13:06:02 +02:00
Patrik Nordwall
03588c3036
Merge pull request #27134 from chbatey/missing-typed-api
Remove typed from api may change
2019-06-13 13:01:34 +02:00
Christopher Batey
c9ae6b9d58 Remove typed from api may change 2019-06-13 10:15:57 +01:00
Christopher Batey
a568afd895
Trying this out as the other PR isn't running in travis (#27129)
* Update to Scala 2.13.0

* Update scalatest
2019-06-12 15:02:17 +01:00
Patrik Nordwall
ced96413d3
Merge pull request #27117 from akka/wip-ddata-req-typed-patriknw
Remove request parameter in Typed Replicator messages, #27115
2019-06-12 13:21:38 +02:00
Patrik Nordwall
631ea2faa2 Remove request parameter in Typed Replicator messages, #27115
* Simplifies the API
* Ask can be used instead, with better type safety since
  the request parameter was Any
2019-06-12 11:28:08 +02:00
Patrik Nordwall
5bb83899e7 Remove Behavior.same/empty/etc, #26730 (#27119)
* Removed `Behavior.same`, `Behavior.unhandled`, `Behavior.stopped`, `Behavior.empty`, and `Behavior.ignore` since
  they were redundant with corresponding in Behaviors
* Also moved several of the internal things from Behavior to BehaviorImpl
2019-06-12 09:38:37 +01:00