No description
Find a file
Patrik Nordwall 744bbc4ee2 Message transformer, without risk of resource leak, #23770
* Replacement of spawnAdapter, we could could keep spawnAdapter as
  an internal feature (we know about the resource leak risk)
* The new ActorContext.messageAdapter can be used in the
  same way as spawnAdapter but without the risk of unbounded
  resource leak.
* Only one message transformer per class is supported to avoid
  unbounded growth of registered transformers in case they are
  registered repeatedly. That is also a way to replace transformers,
  if that would be needed.
* It's still encouraged to register the transformers in a top level
  deferred, but other usages are possible. It would still be wrong
  to capture incoming message specific context in the transformer
  function.
* The transformation function is run inside the actor.
* One single spawnAdapter ref is used for all transformers. It wraps
  the message in an internal Transform message.
* rename to spawnMessageAdapter and only kept it as internal in scaladsl
* update chat room example to use child actors
* docs
2018-01-23 09:41:42 +01:00
.github Update ISSUE_TEMPLATE.md 2017-11-09 18:53:46 +09:00
akka-actor/src/main Actor-to-actor ask for typed, #23770 2018-01-19 18:13:24 +01:00
akka-actor-tests/src/test #24303 ActorSystem.getWhenTerminated which returns CompletionStage 2018-01-18 14:36:21 +01:00
akka-actor-typed/src/main Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
akka-actor-typed-tests/src/test Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
akka-agent/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-bench-jmh Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-camel/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-cluster Merge pull request #24078 from akka/wip-24055-heartbeat-patriknw 2018-01-16 19:10:10 +01:00
akka-cluster-metrics/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-cluster-sharding/src harden CoordinatedShutdownShardingSpec, #24113 2018-01-16 07:40:45 +01:00
akka-cluster-sharding-typed/src Rename scaladsl/javadsl Actor to Behaviors, #24071 2018-01-17 14:58:55 +01:00
akka-cluster-tools/src harden ClusterClientSpec, #24277 2018-01-10 10:48:55 +01:00
akka-cluster-typed/src Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
akka-contrib Extend copyright into 2018 (#24246) 2018-01-05 09:25:34 +01:00
akka-distributed-data/src add flag crdt constants (#24208) 2018-01-09 10:39:06 +01:00
akka-docs/src Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
akka-multi-node-testkit/src/main Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-osgi/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-persistence/src Fix race in OptionalSnapshotStoreSpec (#24323) 2018-01-16 15:06:42 +00:00
akka-persistence-query/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-persistence-shared/src/test/scala/akka/persistence Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-persistence-tck/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-persistence-typed/src Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
akka-protobuf/src/main/java/akka/protobuf Port build to SBT 1.x (#23850) 2017-10-30 10:13:13 +09:00
akka-remote/src Merge pull request #24070 from akka/wip-SendQueueSpec-patriknw 2018-01-16 19:10:43 +01:00
akka-remote-tests/src harden AeronStreamConsistencySpec, #24190 (#24326) 2018-01-16 15:49:28 +00:00
akka-slf4j/src Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-ssl-config/src/main/scala/com/lightbend/sslconfig/akka Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-stream/src/main add maxRestarts to RestartWithBackoff #24129 2018-01-16 18:28:10 +01:00
akka-stream-testkit/src harden StreamTestKitSpec, #24308 2018-01-16 18:30:33 +01:00
akka-stream-tests/src/test add maxRestarts to RestartWithBackoff #24129 2018-01-16 18:28:10 +01:00
akka-stream-tests-tck/src/test Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
akka-testkit/src Use expectNoMessage in typed testkit (#24250) 2018-01-15 15:08:18 +01:00
akka-testkit-typed/src Message transformer, without risk of resource leak, #23770 2018-01-23 09:41:42 +01:00
project Merge pull request #24297 from 2m/wip-latest-versions-for-mima-2m 2018-01-16 14:39:13 +01:00
scripts New authors-script for releasing (#21783) 2016-11-02 14:45:02 +01:00
src/main/ls Update ls.implicit.ly sbt settings 2012-03-10 10:30:38 +13:00
.gitignore Drop the exec bit on non-executable files 2017-05-23 16:06:27 +02:00
.java-version =per,tck #18639 introduce capability flags for journal features 2015-11-27 10:29:34 +01:00
build.sbt Use Wordspec for all tests 2017-12-19 12:59:46 +00:00
CODE_OF_CONDUCT.md Add Code of Conduct, inspired by Play Framework's (#23673) 2017-09-21 19:23:19 +09:00
CONTRIBUTING.md add label 'good first issue' (#24296) 2018-01-16 09:42:22 +00:00
COPYING.protobuf =all #13783 replace protobuf dependency by embedded version 2015-09-04 09:06:50 +02:00
LICENSE Include the full apache license text (#23992) 2017-11-14 16:47:33 +01:00
README.md Update README.md (#23366) 2017-07-17 01:14:54 -07:00

Akka

We believe that writing correct concurrent & distributed, resilient and elastic applications is too hard. Most of the time it's because we are using the wrong tools and the wrong level of abstraction.

Akka is here to change that.

Using the Actor Model we raise the abstraction level and provide a better platform to build correct concurrent and scalable applications. This model is a perfect match for the principles laid out in the Reactive Manifesto.

For resilience, we adopt the "Let it crash" model which the telecom industry has used with great success to build applications that self-heal and systems that never stop.

Actors also provide the abstraction for transparent distribution and the basis for truly scalable and fault-tolerant applications.

Learn more at akka.io.

Reference Documentation

The reference documentation is available at doc.akka.io, for Scala and Java.

Community

You can join these groups and chats to discuss and ask Akka related questions:

  • Mailing list: google groups: akka-user
  • Chat room about using Akka: gitter: akka/akka
  • Issue tracker: github: akka/akka

In addition to that, you may enjoy following:

Contributing

Contributions are very welcome!

If you see an issue that you'd like to see fixed, the best way to make it happen is to help out by submitting a pull request implementing it.

Refer to the CONTRIBUTING.md file for more details about the workflow, and general hints on how to prepare your pull request. You can also ask for clarifications or guidance in GitHub issues directly, or in the akka/dev chat if a more real time communication would be of benefit.

A chat room is available for all questions related to developing and contributing to Akka: gitter: akka/dev

License

Akka is Open Source and available under the Apache 2 License.