Commit graph

24014 commits

Author SHA1 Message Date
Johan Andrén
2503b13138 Try to get root cause of timeout in ReplciatorPruningSpec #26957 2019-09-30 18:18:28 +02:00
Arnout Engelen
f30b40ca8d
Make running mima in PrValidation optional (default enabled) (#27812)
So we can run it on travis but skip it on jenkins.
2019-09-30 12:40:22 +02:00
Patrik Nordwall
f97e31d087
Merge pull request #27822 from akka/wip-doc-singleton-patriknw
doc: duplicate singleton lease section
2019-09-30 10:38:18 +02:00
Patrik Nordwall
c5187441bb
Merge pull request #27820 from akka/wip-24717-doc-link-patriknw
more cross-links to Classic docs, #24717
2019-09-30 10:37:47 +02:00
Patrik Nordwall
5acb33adb5 doc: duplicate singleton lease section 2019-09-29 21:09:20 +02:00
Patrik Nordwall
3051928c9d more cross-links to Classic docs, #24717 2019-09-29 19:48:14 +02:00
Matthias Kurz
04ac08e5cc Fix Travis: Update AdoptOpenJDK (#27815) 2019-09-29 15:02:23 +02:00
Patrik Nordwall
91db18b564 ActorContext as constructor parameter in AbstractBehavior, #27689 (#27806)
* ActorContext as constructor parameter in AbstractBehavior, #27689

* additional test

* additional doc clarification

* another rebase
2019-09-27 11:17:37 +02:00
Johan Andrén
0719de035b
General concepts docs ported to typed (#27765) 2019-09-27 09:50:34 +02:00
Helena Edelson
ea74f905ea Cluster Singleton - General Typed docs cleanup after all API changes #24717 (#27801) 2019-09-27 09:18:15 +02:00
Patrik Nordwall
a7c43cf573
Config to exclude class prefix from serialize-messages, #24273 (#27517)
* Config to exclude class prefix from serialize-messages, #24273

* Adding no-serialization-verification-needed-class-prefix, with "akka." included
  by default
* This is important now when we disable Java serialization by default.
  There will be many complaints about Akka internal classes that are not marked with
  NoSerializationVerificationNeeded, and we can't really sprinkle that everywhere.
* Not removing NoSerializationVerificationNeeded usage in Akka classes because that
  may break bin compat, even though it's needed any more.

* fix DisabledJavaSerializerWarningSpec
2019-09-26 22:51:12 +02:00
Johan Andrén
4f9a4b5403 System materializer guardian (#27723)
* Eager creation of system materializer on system startup #26850

* System level materializers always spawned under a specific system actor #26850

* No need for RepointableActorRef logic anymore

* MiMa filter

* Make the creation timeout higher
2019-09-26 22:49:33 +02:00
Patrik Nordwall
1a90e715f5
Cleanup persistence docs, #24717 (#27779) 2019-09-26 22:48:12 +02:00
Helena Edelson
94cc028986 Distributed Data: General Typed docs cleanup after all API changes (#27783) 2019-09-26 17:14:08 +02:00
Helena Edelson
8e4adf8a52
Adding select scala steward ignores to not receive auto-PR updates on a few dependencies (#27787) 2019-09-26 16:50:02 +02:00
Johan Andrén
37a76aa9a0
BlockingIODispatcher actually not needed #27632 2019-09-26 15:52:18 +02:00
Patrik Nordwall
119e832a0c
Merge pull request #27725 from akka/wip-remove-EventSourcedEntity-patriknw
Remove EventSourcedEntity, #27724
2019-09-26 15:03:35 +02:00
Patrik Nordwall
85e52eddd0
Merge pull request #27797 from johanandren/wip-japi-lambda-followup
Some follow up on the japi lambda changes
2019-09-26 14:47:55 +02:00
Johan Andrén
2409add7ea LogCapture in more tests (#27660)
* LogCapturing for ClassicSupervisingTypedSpec

* LogCapturing for AdapterSpec

* Spelling in AdapterSpec

* LogCapturing for JoinConfigIncompatibilitySpec and JoinConfigCompatibilitySpec

Also: updates to test to actually verify what they say they verify

* Review feedback fixes

* No depend on AkkaSpec.config
2019-09-26 14:43:06 +02:00
Helena Edelson
e8e7ac020f
Cross link also from Typed doc pages to Classic (#27784) 2019-09-26 14:36:02 +02:00
Patrik Nordwall
a1949cabdf update to Jackson 2.9.10 (#27796) 2019-09-26 14:29:59 +02:00
Johan Andrén
08a6fff66b Typed actorsystem clarifications (#27771)
* Link to 2.6 api docs instead of 2.5

* User guardian clarifications

* Runaway quotes caught and dealt with

* Undo weird paradox file format
2019-09-26 12:18:47 +02:00
Patrik Nordwall
d4d44a4813
Merge pull request #27762 from akka/wip-24717-doc-ser-patriknw
doc: Cleanup serialization.md, #24717
2019-09-26 12:01:22 +02:00
Patrik Nordwall
ae32f1431a
Merge pull request #27701 from akka/wip-occurence0-patriknw
wait for async excess events when occurrences 0
2019-09-26 12:00:38 +02:00
Johan Andrén
2bacd43dc9 Some follow up on the japi lambda changes 2019-09-26 12:00:19 +02:00
Patrik Nordwall
1b3a75b3f8 Remove EventSourcedEntity, #27724
Move utils to construct PersistenceId

* Move from EntityTypeKey to PersistenceId
* Thereby no persistence dependencies in sharding
* Reference documentation PersistenceId and how to use with Sharding
* Add EntityTypeKey to EntityContext to make it "complete"
* One consequence of adding EntityTypeKey to EntityContext is that
  now requires additional message type parameter and then type inference
  for `init` (Entity) breaks down. Solved by using two parameter lists in
  Entity.apply, which is pretty nice anyway since the second parameter is
  a function.
* as bonus the dependency can be removed
2019-09-26 11:59:00 +02:00
Johan Andrén
e74831d78b Use japi lambdas where it makes sense (#27790)
* Use akka.japi.function types for adapter lambdas

The Java lambda types does not allow for throwing exceptions but
because of how we run the adapter lambdas in-actor that is fine, so
use our own akka.japi.function types to allow for that.

* Use akka.japi.function types for lambdas where it makes sense
2019-09-26 11:07:56 +02:00
Scala Steward
bd7a264b2f Update protobuf-java to 3.9.2 (#27778) 2019-09-26 09:55:15 +01:00
Renato Cavalcanti
2bab0d8dcd Remove ExpectingReply (#27781)
* remove ExpectingReply

* call method instead of private field

* re-format comments

* formatting

* remove obsolete comment

* remove replyTo()

* remove getters in commands, use immutable fields instead

* Added migration note
2019-09-26 09:45:47 +01:00
Patrik Nordwall
b94f3c3bcc
Merge pull request #27707 from akka/wip-26187-finally-patriknw
Final removal of ActorPublisher and ActorSubscriber, #26187
2019-09-24 13:31:25 +02:00
Scala Steward
fc3ac63ed4 Update sbt-whitesource to 0.1.17 (#27676) 2019-09-23 10:47:41 +02:00
Helena Edelson
f3f2ffd7fb
Cluster Sharding: General Typed docs cleanup after all API changes (#27764) 2019-09-20 07:56:22 -07:00
Patrik Nordwall
f18d8af484 doc: Cleanup serialization.md, #24717 2019-09-19 17:53:02 +02:00
Helena Edelson
20238d975f
New base cluster sharding multi-node/jvm test to cleanup and tighten testing (#27740) 2019-09-19 08:14:48 -07:00
Patrik Nordwall
e49edff4e8 Remove deprecated actorRefWithAck in akka-stream-typed (#27672)
* for 2.6.0 we make the final api changes without deprecation, unless
  there is a strong reason
2019-09-19 07:53:38 -07:00
Johan Andrén
47347a93f5
Migration guide entries (#27759) 2019-09-19 16:50:55 +02:00
Patrik Nordwall
39d2db9abb
Merge pull request #27659 from akka/wip-24717-doc-apply-style13-patriknw
doc: stylish distributed-data.md, #24717
2019-09-19 16:44:07 +02:00
Patrik Nordwall
afffa9b99c
doc: stylish fsm.md, #24717 (#27746) 2019-09-19 16:33:08 +02:00
Patrik Nordwall
4e705f1d18
doc: stylish dispatchers.md, #24717 (#27748) 2019-09-19 16:32:37 +02:00
Johan Andrén
3b3ce85b22
Add PreRestart to typed docs #26899 2019-09-19 16:23:32 +02:00
Patrik Nordwall
111ca90b2b
Merge pull request #27752 from akka/wip-24717-split-testing-patriknw
Split async and sync testing into separate pages, #24717
2019-09-19 15:55:13 +02:00
Johan Andrén
efe6d96156 Use git from the path instead of jgit/sbt-git (#27756)
* Use git from the path instead of jgit/sbt-git
* Branch name extraction working with older git
2019-09-19 15:37:33 +02:00
Patrik Nordwall
1f56807732 doc: stylish testing.md, #24717 (#27750) 2019-09-19 15:03:57 +02:00
Ethan Atkins
ea7d9115cb Upgrade scalafix plugin (#27755)
The akka sbt build starts up about 15-20% faster (15.5 seconds vs 18.5
seconds on my laptop) with this updated version due to
https://github.com/scalacenter/sbt-scalafix/pull/42.
2019-09-19 14:51:53 +02:00
Helena Edelson
ef09dca732 Consolidated passivation check on settings used in region and shard (#27738) 2019-09-19 13:23:27 +02:00
Patrik Nordwall
db132cd216 Final removal of ActorPublisher and ActorSubscriber, #26187
* some messages from ActorSubscriber were also used in other places,
  so moved those to impl.ActorSubscriberMessage
* WatermarkRequestStrategy used by SourceRefImp, so moved there
2019-09-19 13:21:52 +02:00
Patrik Nordwall
a84aa0095c
Examples of response aggregator and latency tail chopping (#27214) 2019-09-19 12:25:47 +02:00
Johan Andrén
7853553f55 Extra caveat around state in Java EventSourcedBehavior (#27706) 2019-09-19 12:02:58 +02:00
Johan Andrén
fe6d23c45a Minimal docs for rolling migration from classic sharding to typed (#27704) 2019-09-19 12:01:55 +02:00
Patrik Nordwall
c0099b728e
Merge pull request #27733 from johanandren/wip-26392-StreamRefSpec-failure
Eliminate race in multi node StreamRefSpec
2019-09-19 11:25:12 +02:00