Commit graph

26191 commits

Author SHA1 Message Date
Johannes Rudolph
221da34234
build: update to sbt 1.5.8 (#31052) 2022-01-10 12:35:04 +01:00
Arnout Engelen
4292a81138
Add UID to Slf4j MDC (#31039)
This UID can be used to distinguish logging from different
ActorSystem incarnations even when they have the same host
and port.

This UID already existed in akka-remote, but to avoid
introducing a dependency between akka-slf4j and akka-remote
this change pulls it up to the ActorSystem.
2022-01-10 12:33:04 +01:00
Matthias Kurz
4fb7bd9bfa
Update ssl-config-core 0.6.0 (was 0.4.3) (#31046)
* ssl-config-core 0.6.0 (was 0.4.3)

ref: https://github.com/playframework/play-ws/pull/590/files

* Make validateDefaultTrustManager no-op

Co-authored-by: takayahilton <takayahilton@gmail.com>
2022-01-07 12:46:16 +01:00
Nitika Agarwal
0211055a1d
Replace FoldSink with sink in the documentation (#31036) 2022-01-07 10:49:12 +01:00
Scala Steward
4a1cc0c14c
Update scala3-library to 3.1.1-RC2 (#31044) 2022-01-07 10:39:31 +01:00
purvaagrawal25
3f98276195
Fixed external links akka-protobuf and akka-remote (#31038)
* Fixed external links akka-protobuf and akka-remote

* Fixed external links akka-remote

* Updated the outdated links akka-remote
2022-01-06 16:40:42 +01:00
Scala Steward
088b63be1a
Update logback-classic to 1.2.10 (#31042) 2022-01-06 15:21:58 +01:00
Scala Steward
63edc0bc58
Update metrics-core, metrics-jvm to 4.2.7 (#31043) 2022-01-06 15:21:43 +01:00
Arnout Engelen
4640338e73
jackson: don't fail serializing empty beans (#31033)
Notably, case objects.

It's not entirely clear to me why this started failing on Scala 3,
`AccountExampleSpec` picks `JacksonCborSerializer` both for Scala 2
and Scala 3, but only on 3 seems to require this option.
2022-01-06 15:21:09 +01:00
Prateek Gupta
b56d3a104b
fix the java example code for custom mailbox in akka-docs (#31034) 2022-01-06 15:06:55 +01:00
AndyChen
799255ef6c
fix reliable delivery doc example #31026 (#31027) 2022-01-03 09:17:45 +01:00
Andrei Arlou
860681ce81
Use apidoc directive in multi-node-testing.md (#22904) (#31022) 2022-01-03 09:06:54 +01:00
Oliver Heger
e4a56d7cfb
Update upper version bound for scala-java8-compat in OSGi (#31024) (#31025)
Align the version range with the actual versions of the
scala-java8-compat dependency for the different Scala versions.
2022-01-03 08:52:17 +01:00
GKuldeepak-Knoldus
d56feb6275
Fix external links - seventh iteration (akka-actor) (#31021)
* Fix external links - seventh iteration (akka-actor)

* Updated external link
2022-01-03 08:51:06 +01:00
GKuldeepak-Knoldus
14746d3dc4
Fix external links - sixth iteration (LICENSE) (#31020) 2021-12-28 13:43:54 +01:00
GKuldeepak-Knoldus
f9dc476aae
migrate-SBT-Dependencies (#31014) 2021-12-23 13:58:30 +01:00
Arnout Engelen
602eb45dcc
scala3: show scala3-compatible code in most of akka-docs (#30974)
* scala3: show scala3-compatible code in most of akka-docs

There are some Streams samples that don't compile with Scala 3
yet.

* Fix warnings/errors

* scalafmtSbt
2021-12-23 11:33:21 +01:00
Patrik Nordwall
8015a0c0c8
Remove unused import in PersistenceTestKitDurableStateStoreSpec (#31012)
* fails in Scala 2.12 build
* PersistenceTestKitDurableStateStoreSpec.scala:13:48: imported `PersistenceTestKitDurableStateStore` is permanently hidden by definition of object PersistenceTestKitDurableStateStore in package scaladsl
2021-12-23 18:28:02 +13:00
Muskan Gupta
0d76eb4eeb
Fix examples (#31002) 2021-12-22 13:11:02 +01:00
Patrik Nordwall
509b3be617
Disable multi-node with Aeron, #31010 (#31011) 2021-12-22 07:41:57 +01:00
Enno Runne
54c33494b7
docs: update persistence plugin listings (#31009) 2021-12-21 09:01:26 +01:00
Andrei Arlou
aaae2b6497
Add @deprecated to akka.stream.OverflowStrategy#dropNew (#30977) (#30993) 2021-12-20 14:16:12 +01:00
Patrik Nordwall
65f5289b56
Latest for mima 2.6.18 (#31008) 2021-12-20 14:15:32 +01:00
Patrik Nordwall
a94e692463
Update to logback 1.2.9, and Paradox 0.41 (#31006) 2021-12-20 11:17:56 +01:00
Johan Andrén
a2293c4d17
Fix for build failure on Scala 2.12 (#31007)
* Fix for build failure on Scala 2.12

* formatting...
2021-12-20 11:17:11 +01:00
Muskan Gupta
467a46d2db
Replace FoldSink with sink (#31003) 2021-12-20 09:18:28 +01:00
Peter Vlugter
78df739ef6
Add adjustable active entity limit per shard region (#31004) 2021-12-20 09:09:14 +01:00
Patrik Nordwall
cc446477ee
Add slice queries to Persistence TestKit (#30995)
* Add currentEventsBySlices to Persistence TestKit to make it feature comatible with currentEventsByTag, simplifies some usage in downstream projects
* Add DurableStateStoreBySliceQuery to Persistence TestKit, to make it feature comatible with the tagged queries simplifies some usage in downstream projects
2021-12-20 09:05:40 +01:00
Arnout Engelen
3c9ef34280
fix check that nightly tests ran (#30998) 2021-12-17 09:14:35 +01:00
Andrei Arlou
29f1d8b6d0
Use apidoc directive in typed/cluster-concepts.md (#22904) (#30982) 2021-12-16 16:25:02 +01:00
Patrik Nordwall
6ed3972f4e
lastSequenceNumber in DurableStateBehavior, #30833 (#30834)
* Recovering Behavior must be a class for the WithSeqNrAccessible to be able
  to find it
2021-12-16 13:41:28 +01:00
Patrik Nordwall
a36329c4c2
Mark the new passivation strategies as may change (#30999) 2021-12-16 12:53:41 +01:00
Patrik Nordwall
331d1da8c5
dilate ask timeout in ActorRefResolveCacheQuarantineSpec, #30996 (#30997) 2021-12-16 12:45:58 +01:00
Peter Vlugter
0c92cc573a
Add more entity passivation strategy traces and simulations (#30994)
* Add optimal clairvoyant algorithm to passivation strategy simulations

* Add natural zipfian distribution trace using text of Moby Dick

* Add some looping access pattern traces from the LIRS paper

* Add CloudPhysics access pattern trace from LIRS2 paper

* Add Wikipedia access pattern trace to passivation simulations
2021-12-16 11:04:18 +01:00
Patrik Nordwall
aa29071b96
Update to logback 1.2.8 (#30991)
* LOGBACK-1591
* documentation, tests and (provided) testkit
2021-12-16 09:05:37 +01:00
Andrei Arlou
ba4c5749f0
Use apidoc directive in typed/cluster-singleton.md (#22904) (#30946)
* Use apidoc directive in typed/cluster-singleton.md (#22904)

* add link to objects
2021-12-15 22:45:39 +01:00
utkarshup11
889a34e77d
Fixed small typo mistake #30967 (#30992)
* Fixed small typo mistake in Sink materialized value

* Change Sinks materialized value to Sink's materialized value
2021-12-15 22:06:35 +01:00
Patrik Nordwall
4375fe6bd7
Change number of slices to 1024 (#30990)
* more flexible with some more
2021-12-15 14:22:03 +01:00
Patrik Nordwall
6c9c733896
Optional akka-remote dependency from akka-persistence-query, #30980 (#30987)
* akka-protobuf-v3 is anyway a dependency from akka-stream
* akka-remote can remain provided by adding lazy on the WrappedPayloadSupport
* tested with a sample with only akka-persistence and akka-persistence-query
2021-12-14 12:47:45 +01:00
Patrik Nordwall
5b9e22c348
Use sub-directory for embedded Aeron media driver (#30986)
* in multi-node tests we create the volume /opt/volumes/media-driver
  and run with -Daeron.dir=/opt/volumes/media-driver but when starting
  the embedded media driver a unique part is added to the directory name
  so it becomes like
  Started embedded media driver in directory [/opt/volumes/media-driver-ClusterLogVerboseEnabledSpec-27c2fe72-c2b2-4ef4-ab87-a783f5d9ece4]
* this adds the unique part as a sub-directory instead, so that it's still in in the
  /opt/volumes/media-driver/ volume
* I don't know if this will make things more stable but the defined volume wasn't really
  used as intended
2021-12-14 12:47:13 +01:00
Arnout Engelen
5fafdced8e
Cleanup cross building (#30981)
* wip

* Don't set crossScalaVersions at the toplevel

* scalafmtSbt

* Accidentally commited

* Set default scalaVersion

* Set top-level scala version to default

* Add comment explaining why to +~
2021-12-14 11:00:02 +01:00
Johannes Rudolph
ad3a8a965d
Update to sbt 1.5.6 (#30988)
To mitigate any impact of sbt's use of log4j2
2021-12-13 15:30:50 +01:00
Renato Cavalcanti
49cd4d3d28
update minimal protoc version (#30971) 2021-12-10 16:22:23 +01:00
Patrik Nordwall
0c0b2405b9
Fix failing ClusterShardingRememberEntitiesSpec, #30975 (#30976) 2021-12-10 15:41:44 +01:00
Patrik Nordwall
f946655ad5
Serializer for EventEnvelope and Offset (#30970) 2021-12-09 13:30:59 +01:00
Peter Vlugter
3a7201183d
Introduce new default entity passivation strategy (#30968) 2021-12-09 13:04:27 +01:00
Johan Andrén
35c128b7d8
A bit less noise from updates going to shards that has already shut down when stopping (#30969) 2021-12-09 12:47:23 +13:00
Peter Vlugter
3ddd58ca42
Add variations to entity passivation strategies (#30951)
* Simplify the variations for passivation strategy settings
* Abstract out double-linked list operations for recency and frequency
* Add optional dynamic aging to least frequently used passivation strategy
* Add segmented least recently used passivation strategy
* Split entity passivation specs into multiple files
2021-12-08 13:31:01 +13:00
Scala Steward
a9b620c184
Update aeron-client, aeron-driver to 1.37.0 (#30966)
* Update aeron-client, aeron-driver to 1.37.0

* Update agrona as well

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-12-07 14:23:52 +01:00
Peter Vlugter
250474f026
Simplify entity activity tracking for passivation strategies (#30960) 2021-12-07 14:20:17 +01:00