Commit graph

23580 commits

Author SHA1 Message Date
Renato Cavalcanti
f7ca0abb24 being explicit about how to disable artery 2019-06-08 10:27:29 +02:00
Patrik Nordwall
047d620c07
Merge pull request #27085 from akka/wip-24874-deadlog-patriknw
re-enable dead letter logging after specified duration, #24874
2019-06-07 17:58:32 +02:00
Patrik Nordwall
5d22e1e20d
Merge pull request #27056 from akka/wip-24155-dateformat-patriknw
use ISO-8601 date/time format in Jackson serializer, #24155
2019-06-07 17:44:19 +02:00
Patrik Nordwall
41600d3079 use ISO-8601 date/time format in Jackson serializer, #24155
* better for interoperability
* deserialization from both formats are supported
2019-06-07 16:51:44 +02:00
Patrik Nordwall
cca13bdb32
Merge pull request #27067 from akka/wip-24155-compression-patriknw
try Jackson compression impact, #24155
2019-06-07 16:32:00 +02:00
Patrik Nordwall
467d65043e try Jackson compression impact, #24155
* increased the default compress-larger-than to 32 KiB,
  because gzip performance overhead
* support 'off' config value to disable completely
2019-06-07 16:00:02 +02:00
Patrik Nordwall
9a0778435c refactoring, cleanup, and count non-logged, #24874 2019-06-07 15:52:06 +02:00
虎鸣
20466772ce =act re-enable dead letter logging after specified duration
(cherry picked from commit 0caa4f3c22f62e1a65d04dc5b5507f375d7ee794)
2019-06-07 15:42:35 +02:00
Patrik Nordwall
381cb1c5d3
Merge pull request #27068 from akka/wip-24155-conf-patriknw
Support separate conf per JacksonSerializer binding, #24155
2019-06-07 15:33:59 +02:00
Patrik Nordwall
23cbd68430 Support separate conf per JacksonSerializer binding, #24155
* Needed in Lagom to be able to have separate object mappers with different
  config for exernal and internal usage.
* Can also be good to be able to have different config for json and cbor
  serializers, or different for remote messages and persisted events.
* Pass in binding name when creating the serializer if it has a matching
  constructor
* Serialization identifiers loaded from config via the binding name instead
  of class name, for JacksonSerializer.
2019-06-07 14:43:36 +02:00
Patrik Nordwall
7c0be70eea
Doc Jackson annotation gotchas, #24155 (#27091)
* Describe annotations for single param constructor, #24155
* Describe annotations for polymorphic types, #24155
2019-06-07 14:41:01 +02:00
Patrik Nordwall
397b8792f9
Merge pull request #27054 from akka/wip-24155-typed-actorref-patriknw
Jackson serializer typed.ActorRef, #24155
2019-06-07 13:23:09 +02:00
Christopher Batey
6741d76f94 Remove duplicate copyright (#27101)
* Remove duplicate copyright

* Update akka-actor-typed-tests/src/test/java/akka/actor/typed/ActorSystemTest.java

Co-Authored-By: Arnout Engelen <github@bzzt.net>
2019-06-07 09:57:45 +02:00
Christopher Batey
49d7d2fa9b Remove removed modules from AkkaDiscipline plugin (#27099) 2019-06-07 09:57:23 +02:00
Christopher Batey
6d7ad47571 Clarify what to do instead of sending a PoisonPill for ActorRef source (#27090)
* Clarify what to do instead of sending poison pill to actor ref source

* Fix typos in scala/java doc for Source.actorRef
2019-06-07 09:46:34 +02:00
Christopher Batey
508aa9970f
Decrease waiting-for-state-timeout to 2s (#27025)
* Decrease waiting-for-state-timeout to 2s

The timeout can be likely to happen for small clusters when the read
majority needs to go to every node

Refs #26710

* Restructure migration guide for 2.6

Separate out changes that require no user action unless the old
behavior is preferred

* 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-06-06 10:22:26 +01:00
Patrik Nordwall
c4bf933b3c
Merge pull request #27034 from akka/wip-26910-schedule-patriknw
scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
2019-06-05 14:32:57 +02:00
Patrik Nordwall
10d32fceb9 scheduleWithFixedDelay vs scheduleAtFixedRate, #26910
* previous `schedule` method is trying to maintain a fixed average frequency
  over time, but that can result in undesired bursts of scheduled tasks after a long
  GC or if the JVM process has been suspended, same with all other periodic
  scheduled message sending via various Timer APIs
* most of the time "fixed delay" is more desirable
* we can't just change because it's too big behavioral change and some might
  depend on previous behavior
* deprecate the old `schedule` and introduce new `scheduleWithFixedDelay`
  and `scheduleAtFixedRate`, when fixing the deprecation warning users should
  make a concious decision of which behavior to use (scheduleWithFixedDelay in
  most cases)

* Streams
* SchedulerSpec
  * test both fixed delay and fixed rate
* TimerSpec
* FSM and PersistentFSM
* mima
* runnable as second parameter list, also in typed.Scheduler
* IllegalStateException vs SchedulerException
* deprecated annotations
* api and reference docs, all places
* migration guide
2019-06-05 11:38:04 +02:00
Christopher Batey
72cfc2485e
Netty is not optional for multi jvm test kit (#27072)
* Netty is not optional for multi jvm test kit

Netty is used internally and is always loaded even if artery is enabled.
That could be improved but for now netty is needed.

This fixes the Akka HTTP against master build
2019-06-05 10:22:26 +01:00
Patrik Nordwall
937cbaf328
Merge pull request #27074 from akka/wip-26932-timers-logging-patriknw
Remove too verbose debug logging for timers, #26932
2019-06-05 11:19:36 +02:00
Patrik Nordwall
5811f4dcb9 optional instead of provided dependency to akka-actor-typed 2019-06-05 08:32:29 +02:00
Patrik Nordwall
5d8f1fd7f0
Merge pull request #27084 from chbatey/coordination-lease-timeout
Note about lease timeout and JVM pauses
2019-06-05 08:18:54 +02:00
Patrik Nordwall
cdae0f1321
Merge pull request #27088 from chbatey/jackson-doc-tweaks
Minor jackson doc tweaks
2019-06-05 08:11:07 +02:00
Patrik Nordwall
043ed601bc
Merge pull request #27087 from akka/wip-publish-file-patriknw
support akka.build.version=file
2019-06-04 20:11:35 +02:00
Christopher Batey
b777ec6509 Minor jackson doc tweaks 2019-06-04 16:43:54 +01:00
Patrik Nordwall
97b10273a6 support akka.build.version=file
* forward port from release-2.5 branch
* needed for nightly snapshots
2019-06-04 16:41:49 +02:00
Christopher Batey
6205646c17 Note about lease timeout and JVM pauses 2019-06-04 13:43:15 +01:00
Nicolas Vollmar
7075c7ad26 Adding improved warning when jdk8 is not found #26222 (#26789) 2019-06-04 12:19:39 +02:00
Arnout Engelen
f18f2c6559
Add common/io-layer to the ToC (#27018)
Solves part of https://github.com/akka/akka.github.com/issues/606
2019-06-03 16:54:01 +02:00
Helena Edelson
e5d9ce8cd3 Removed overly-enthusiastic-about-scala-sample exclamation point in doc (#27055)
* Removed overly-enthusiastic-about-scala-sample exclamation point in doc.

* And update the sample links while we're at it!
2019-06-03 16:36:42 +02:00
Patrik Nordwall
56eb1e3a7a
Merge pull request #27057 from chbatey/internal-markers
Internal stable markers
2019-06-03 16:34:26 +02:00
Patrik Nordwall
b9fa1e6cfc
Merge pull request #27063 from coreyauger/akka-docs-endpoint-typeo
fix typo
2019-06-03 16:28:16 +02:00
Patrik Nordwall
f051471d2c
Merge pull request #27065 from aafa/patch-1
Minor typo is fixed
2019-06-03 16:24:22 +02:00
Patrik Nordwall
327b17db0d Remove too verbose debug logging for timers, #26932 2019-06-03 15:49:41 +02:00
Charies Gavin
fa1643f949 Optimize Document Content (#27050) 2019-06-03 09:46:37 +02:00
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
Alex Afanasev
d3e7a90fb3
typo 2019-06-02 14:26:11 +03:00
Corey Auger
f0212f905a fix typeo 2019-05-31 15:13:56 -07: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
Christopher Batey
e7e628c831 Internal stable markers
A marker on a class means that its name shouldn't change, if any of its
methods should not change they will be marked as well
2019-05-31 14:15:09 +01: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
Patrik Nordwall
93017d05c7 serializer for akka.actor.typed.ActorRef
* most convenient for users to include it akka-serialization-jackson
  and load it when akka-actor-typed is in classpath
* provided dependency to akka-actor-typed
2019-05-30 15:08:48 +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