Commit graph

191 commits

Author SHA1 Message Date
Matthew de Detrich
24c03cde19
Rename sbt akka modules
Co-authored-by: Sean Glover <sean@seanglover.com>
2023-01-05 11:10:50 +01:00
Matthew de Detrich
b92b749946 Improve akka-actor-typed initialCommands 2023-01-04 11:52:36 +01:00
Matthew de Detrich
0cb5056ad5 Rename classes containing Akka to Pekko 2022-12-03 11:49:30 +01:00
PJ Fanning
708da8caec
rename akka-docs dir to docs (#62) 2022-12-02 10:49:40 +01:00
Matthew de Detrich
f84e8db3cb Rename akka package to org.apache.pekko 2022-11-30 16:45:15 +01:00
Auto Format
15b163da74 format source with scalafmt, #2 2022-11-05 15:01:03 +01:00
Arnout Engelen
e7e95f5c75
Fix build.sbt 'Dependencies' import (#31382)
Not sure how sbt doesn't trip over this, but it seems to help IntelliJ
2022-05-06 14:34:45 +02:00
kerr
146cc1af0f
=sbt Apply the build sbt messages but disable on sub projects. (#31352) 2022-04-21 15:50:07 +02:00
kerr
c90de63c97
=build Add useful task tips to sbt welcome message. (#31335)
Signed-off-by: hepin1989 <hepin1989@gmail.com>
2022-04-20 15:07:34 +02:00
kerr
15af15745c
Change scalafmtSbtAll to scalafmtSbt (#31342) 2022-04-14 10:17:13 +02:00
Patrik Nordwall
79718a068d
Explicit dependency for pr validation diff, #27937 (#31239)
* change of akka-actor didn't trigger build of akka-actor-tests
  because the dependency was via akka-testkit
2022-03-13 08:46:08 +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
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
Patrik Nordwall
f946655ad5
Serializer for EventEnvelope and Offset (#30970) 2021-12-09 13:30:59 +01:00
Arnout Engelen
cdad7938b0
Include Scala 3 in cross-build (#30392)
* Include Scala 3 in cross-build

sbt cross-building sometimes behaves surprisingly, so this does not work
yet: when switching to 3.0.1-RC1 it still tries to build the modules
that do not support that version yet, even though they are 'excluded'.

This also currently breaks cross-publishing, so we cannot merge this.
Once this works we should add a note to the documentation clarifying
that the Scala 3 artifacts are experimental.

* Fix jackson test dependency

* Don't publish docs for scala3 artifacts for now

* Publish empty doc packages for Scala 3 artifacts
2021-10-25 08:18:22 +02:00
Johan Andrén
b859d9fc48
Update verifyCodeStyle and applyCodeStyle to be what we really require (#30777)
Previously it included a coarse grained Java reformat which it seems was never
quite worked through (reformatting generated sources etc), so go back on that,
and make sure verifyCodeStyle is exactly what we require for PR validation to pass
(and that it does not diverge)
2021-10-13 08:21:09 +02:00
Andrea Peruffo
d75ad252b8
Run multi-node tests on fresh GKE clusters (#30570)
* Port multi-node-test from Jenkins
* link to issues for gh-excluded tests
* use kubectl in multi-jvm plugin
2021-08-27 17:40:51 +02:00
Marcos Pereira
7cdca36ab8
Some minor build clean ups
- Resolve some warnings due to depracations
- Fix an infinite recursion
- Minor refactoring to use sys.props instead of System.getProperty
2021-08-19 20:03:07 -04:00
Peter Vlugter
bbb9f10d1a
Remove WhiteSource plugin (#30545) 2021-08-17 09:04:27 +02:00
Johan Andrén
70ba0a1af0
Akka Remote compiling on Scala 3.0 (#30361)
Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2021-07-21 20:24:33 +02:00
Johan Andrén
b5cbf383d6
Move typed persistence tests away from LevelDB (#30224) 2021-06-02 17:15:18 +02:00
Lukas Rytz
aa03e8b089
Update Scala to 3.0.0 final, sbt to 1.5.2 (#30248)
Also: Migrate to sbt slash syntax
2021-05-25 12:50:51 +02:00
Andrea Peruffo
da70e0ccd4
Scala 3 cross compatible akka-actor / akka-testkit / akka-actor-tests (#29956)
* Remove @switch when it doesn't take effect
* Use ActorRef.noSender
* Minor tweaks to SchedulerSpec
* Disambiguate TypedActor for Scala 3
* Bump ScalaTest to a version compatible with Scala 3
* Bump ScalaCheck
* Disambiguate Event in SupervisorHierarchySpec
* Scala 3 compatible EventBusSpec
* Prevent private unused variables to be erased by Scala 3
* Bump mockito
* Explicit actorRef2Scala import
* restore original .scalafix.conf
* Scala 3 compatible tailrec
* Reminder to re add switch annotation in case
* Move to nowarn instead of silencer
* Bump to Scala 2.12.13
* Cross compatible annotations
* fix docs generation
* adapt the build for Scala 3
* fix errors but bus
* remove more SerialVersion from trait
* scalacheck only from scalatest
* cross-compile akka-actor-tests
* restore cross-compilation
* early initializers workaround
* scalacheck switch
* cross compatible FSM.State class
* cross compatible LARS spec
* Change results to pass LineNumberSpec
* fix stackoverflow in AsyncDnsResolverIntegrationSpec
* FSM.State unapply
* fix Scala 2.13 mima
* SerialVersionRemover compiler plugin
* removed unused nowarns
2021-02-01 16:38:29 +01:00
Nicolas Vollmar
40713f836f
Adds variant accepting any ack message (#29586) (#29910) 2020-12-22 09:46:38 +01:00
ohze.net
9416dedad7
Use scalafix to update scala 2.13.3, silencer 1.7.0 (#29367) 2020-12-09 09:20:13 +01:00
Enno Runne
ffb21da246
Stream Testkit: new-API-friendly (#29831) 2020-12-01 12:06:09 +01:00
Ignasi Marimon-Clos
12ca84c247
Produce a BOM for Akka libraries (#29839) 2020-11-30 16:39:14 +01:00
Arnout Engelen
ca59d8149c
Enable fatal errors for docs (#29570) 2020-09-08 15:10:21 +02:00
Patrik Nordwall
7bf12721c1 Merge branch 'master' into feature-active-active-event-sourcing 2020-09-02 15:46:06 +02:00
Christopher Batey
2d9660f847 Final review feedback 2020-08-25 10:02:27 +01:00
Arnout Engelen
2db9fb0b59
Make akka-protobuf-v3_2.12-2.6.7 reproducible again 2020-08-18 11:21:10 +02:00
Christopher Batey
c945fbd7a1 Java auction example (#29443) 2020-08-17 07:37:59 +01:00
Christopher Batey
116c13677a Port CRDTs from multi dc (#29372)
* Metadata for snapshots for active active

* Port CRDTs from multi dc

* Review feedback
2020-08-17 07:37:58 +01:00
Johan Andrén
c44302bd1e Speculative replication - step 1 (#29289)
* Step 1: general event-publishing-to-topic feature

* Step 2: an actor subscribes to the topic and forwards events to the sharded replicas

* Another half piece of the puzzle, receive the PublishedEvent in the ESB internals

* Stash published events while replaying rather than drop

* Publish on the event stream instead of a topic

* Active active actor receiving a published event

* Some smaller changes

 * Public API for published event
 * Better name for the sharding component

* Naive test for the Active Active Sharding Replication

* Java API for ActiveActiveShardingReplication

* Spelling

* Use ShardingEnvelope for publishing the event across sharding

* Fast forwarding filter stage

* Move test to testkit, enable the see-event-twice test (fails)

* Use persistence testkit journal

* Various smaller review feedback things

* Trying to figure out why duplicate event write test fails

* Missing unstash after processing published event

Co-authored-by: Christopher Batey <christopher.batey@gmail.com>
2020-08-17 07:30:12 +01:00
Christopher Batey
08182bbdeb ActiveActive: Events with metadata and events by persistence id for (#29287) 2020-08-17 07:27:57 +01:00
Christopher Batey
ad2d7e2d00 Initial prototype of active active event sourcing (#29265) 2020-08-17 07:25:34 +01:00
Ignasi Marimon-Clos
438e195365
Add verifyCodeStyle #29377 (#29378) 2020-07-22 22:32:40 +02:00
Scala Steward
37b1e6f118
Update sbt-assembly to 0.15.0 (#29301)
* Update sbt-assembly to 0.15.0
* Fix shading

Co-authored-by: Arnout Engelen <arnout@bzzt.net>
2020-07-01 11:03:28 +02:00
Johan Andrén
4811b53917
Merge pull request #29219 from akka/feature-remember-entities-rework
Rework of Remember Entities and sharding internals #27763
2020-06-17 09:07:49 +02:00
barthorre
2c4e114ecd
Protobuf v3 osgi (#29172)
* register ActorSystem reference under ActorFactoryRef interface name

* reformat code

* add OSGi headers for akka-protobuf-v3

* change private package to only include proto files
2020-06-15 13:44:11 +02:00
Enno
7e69b990b9
Docs: Discovery via DNS (#29153) 2020-06-09 17:33:52 +02:00
Ignasi Marimon-Clos
c287fff034
k8s-friendly SSLEngine provider (simplified) (#29152)
Co-authored-by: Arnout Engelen <github@bzzt.net>
Co-authored-by: James Roper <james@jazzy.id.au>
2020-06-05 17:34:44 +02:00
Christopher Batey
0d1237fd44
Latency benchmarks for rememered entities + JFR events (#29103) 2020-05-28 09:35:27 +02:00
Christopher Batey
b463a1adbd
Merge master into re feature branch (#29135)
* Merge master into feature branch

* Formatting

* Remove redundant fixme

* Remove files that snuck in

* Fix backoff supervisor test
2020-05-27 12:50:53 +01:00
Patrik Nordwall
c45e6ef39b
Add Lightbend's SBR to Akka Cluster, #29085 (#29099)
* change package name to akka.cluster.sbr
* reference.conf has same config paths
* akka.cluster.sbr.SplitBrainResolverProvider instead of com.lightbend.akka.sbr.SplitBrainResolverProvider
* dependency from akka-cluster to akka-coordination, for lease strategy
* move TestLease to akka-coordination and use that in SBR tests
* remove keep-referee strategy
* use keep-majority by default
* review and adjust reference documentation

Co-authored-by: Johan Andrén <johan@markatta.com>
Co-authored-by: Johannes Rudolph <johannes.rudolph@gmail.com>
Co-authored-by: Christopher Batey <christopher.batey@gmail.com>
Co-authored-by: Arnout Engelen <github@bzzt.net>
2020-05-25 12:21:13 +02:00
Ignasi Marimon-Clos
54a9b3189a
Adds support to read PEM keys (#29039)
Co-Authored-By: James Roper <james@jazzy.id.au>
2020-05-16 18:09:24 -04:00
kerr
bada816714
=build Fix commandAlias for fixall and sortImports (#28984)
* =build Fix commandAlias for fixall and sortImports

* =build Update sortImports to 0.5.0

* Sort imports to handle `javax`.

* fx
2020-05-11 11:47:33 +02:00
Ignasi Marimon-Clos
c1fd93c504 Removes signature directive support 2020-05-06 19:47:30 +02:00
Patrik Nordwall
ef79738373
Synchronous TestKit for EventSourcedBehavior, #23712 (#28952)
* using real EventSourcedBehaviorImpl
* using new inmem journal (PersistenceTestKit)
* advantages compared to a "fake" driver
  * no difference in implementation details from real thing
  * no limitations
  * less maintance
* added internal messsages to EventSourcedBehaviorImpl to be able to grab state
  and persistenceId
  * GetState as InternalProtocol instead of Signal so that it is stashed
* serialization checks, using SerializationTestKit
* better testKitGuardian naming to allow multiple PersistenceTestKit
* support testing of restart
* support failure testing by using PersistenceTestKit
* update doc sample
* apidoc, reference docs, and javadsl
2020-04-29 22:06:42 +02:00
Arnout Engelen
ad2bd70213
Use sbt-publish-rsync rather than our own (#28868) 2020-04-28 11:49:42 +02:00