Commit graph

2169 commits

Author SHA1 Message Date
Roland Kuhn
5e1fd1db6c Merge pull request #16763 from akka/wip-cleanup-actor-∂π
fix all non-deprecation warnings
2015-02-06 20:54:12 +01:00
Roland Kuhn
a029a90502 fix warnings in contrib, docs, osgi, persistence and slf4j 2015-02-06 18:45:58 +01:00
Patrik Nordwall
9b5a446a4a =per #15942 Support resume after recovery failure
* also improved fault handling in various places (bugs found)

* and manually triggered Update must be distinguished from scheduled
  auto updates, otherwise manual Update will schedule extra auto updates
2015-02-06 10:29:07 +01:00
Roland Kuhn
d9efd041f7 add akka-typed project with generic ActorRef
This is the first step towards more type-safety in Actor interactions,
comprising:

* generic ActorRef[T] that only accepts T messages
* generic ActorSystem[T] extends ActorRef[T] (sending to the guardian,
  whose Props[T] are provided for ActorSystem construction)
* removed the Actor trait: everything in there has been made into
  messages and signals
* new Behavior[T] abstraction that consumes messages (of type T) or
  Signals (lifecycle hooks, Terminated, ReceiveTimeout, Failed),
  producing the next Behavior[T] as the result each time
* the ask pattern is provided and yields properly typed Futures
* variants of ActorContext are provided for synchronous testing of
  Behaviors

All of this is implemented without touching code outside akka-typed
(apart from making guardianProps configurable), creating wrapper objects
around ActorRef, ActorContext, ActorSystem, Props and providing an Actor
implementation that just runs a Behavior.
2015-01-29 11:42:28 +01:00
Roland Kuhn
50d1569f37 Merge pull request #16634 from dimbleby/stable-priority-mailbox
Introduce stable priority mailboxes.
2015-01-28 15:10:24 +01:00
dch
8df81e6b72 Introduce stable priority mailboxes.
Similar to existing priority mailboxes, but these preserve FIFO ordering
for messages of equal priority.
2015-01-28 11:20:59 +00:00
Roland Kuhn
ed71c37318 Merge pull request #16668 from meln1k/wip-16614-include-best-practice-tip-on-messages-in-companion-object-in-docs-meln1k
=doc #16614 Include best-practice tip on messages in companion object in docs
2015-01-27 18:38:52 +01:00
Roland Kuhn
9463c9ff6c Merge branch 'tmp' 2015-01-27 16:26:04 +01:00
Roland Kuhn
a18c1bbafb fix up wrong includecode comments in FaultHandlingDocSpec 2015-01-27 16:25:13 +01:00
Nikita Melkozerov
a8632befc6 =doc #16614 Include best-practice tip on messages in companion object in docs 2015-01-23 22:40:55 +05:00
Nikita Melkozerov
d461675e6a =doc #16706 fixed wrong link and minor style fixes 2015-01-22 23:15:44 +05:00
Martynas Mickevičius
0b50d650f1 Merge pull request #16678 from etaty/patch-2
=doc s/will always by/will always be/
2015-01-21 12:28:27 +01:00
Valerian
5a9f623cb6 =doc s/will always by/will always be/ 2015-01-20 16:47:51 +01:00
Andrei Pozolotin
7b9f77a073 + akka-cluster-metrics: new akka module
* new akka module split from akka-cluster
* provide sigar provisioning
* fix ewma usage
* resolve #16121
* see #16354
2015-01-19 10:23:54 -06:00
Konrad Malawski
9dae14e1a5 Merge pull request #16649 from meln1k/wip-16630-add-actor-system-name-to-Slf4jLogger-context-meln1k
+slf #16630 Add the actor system name to the Slf4jLogger context
2015-01-16 10:34:09 +01:00
Roland Kuhn
a4a985035e Merge pull request #16575 from akka/wip-15864-remove-ømq-∂π
-zer #15864 remove zeromq module
2015-01-16 10:19:45 +01:00
Roland Kuhn
239619e68f -zer #15864 remove zeromq module 2015-01-15 20:19:35 +01:00
Nikita Melkozerov
e49ea9b5e4 +slf #16630 Add the actor system name to the Slf4jLogger context 2015-01-14 20:17:46 +05:00
Chris Johnson
2d312f1a91 Super minor change to scala fsm example: added named boolean arg 2015-01-13 22:01:06 -08:00
sangche
c0867e1308 =doc #16459 change confusing FaultHandlingDocSpec in Fault Tolerance Document. 2014-12-22 23:47:05 -08:00
Sergey Krauchenia
f08f1727fb =act, ker, rem, doc #16330 deprecate akka.util.Crypt
* deprecate akka.util.Crypt
* fix documentation after deprecating
2014-12-20 13:30:37 +03:00
Patrik Nordwall
edd9c2d5c6 Merge pull request #16432 from pawel-wiejacha/pawelwiejacha_16431_named_test_probes
+tes #16431 support for TestProbe with user-defined name
2014-12-15 14:28:45 +01:00
Patrik Nordwall
c566d5a106 per #15423 Remove deprecated features from akka-persistence
* remove channels
* remove View
* remove Processor
* collapse the complicated internal state management
  that was spread out between Processor, Eventsourced and Recovery
* remove Recovery trait, this caused some duplication between Eventsourced
  and PersistentView, but but the enhanced PersistentView will not be based
  on recovery infrastructure, and therefore PersistentView code will be replaced anyway
* remove PersistentBatch
* remove LoopMessage
* remove deleteMessages of individual messages
* remove Persistent, PersistentRepr and PersistentImpl are kept
* remove processorId
* update doc sample code
* note in migration guide about persistenceId
* rename Resequencable to PersistentEnvelope
2014-12-12 16:18:47 +01:00
Chris Grieger
6bc9815705 =doc fix typo 2014-12-06 10:06:59 +01:00
Paweł Wiejacha
f480989b25 +tes #16431 support for TestProbe with user-defined name 2014-12-04 22:42:40 +01:00
Konrad 'ktoso' Malawski
73cd1d7375 +act #15163 allows to suppress certain messages from being dead-letter-ed
Conflicts:
	akka-actor/src/main/scala/akka/actor/ActorRef.scala
2014-12-01 17:03:13 +01:00
Roland Kuhn
3cf00cecb1 Merge pull request #16386 from adamw/wip-16348-limit-alod-adamw
+per #16348 Limit the number of messages redelivered at each interval
2014-12-01 13:04:38 +01:00
adamw
57f67bc58c +per #16348 Limit the number of messages redelivered at each interval
Helps to prevent flooding destinations which are unavailable for a long time with messages once they become available.
2014-11-30 13:30:57 +01:00
Konrad Malawski
7b83ff5f4a Merge pull request #16365 from hicolour/fix-16364-doc-persistent-actor-recovery-customization-hicolour
=doc #16364 Persistent actor - clarification of the recovery cust...
2014-11-27 14:45:20 +01:00
Marek Prochera
b43f3639d6 Fix #16364 - Doc - Persistent actor - clarification of the recovery customization 2014-11-25 23:13:16 +01:00
Konrad Malawski
c73603f707 Merge pull request #16366 from kustosz/role-info-in-jmx-api
+clu #15489 expose cluster member roles in JMX getClusterStatus
2014-11-24 12:43:07 +01:00
kustosz
ebe808e50d =doc #15489 document the possibility to see cluster member roles via JMX 2014-11-22 11:58:53 +01:00
Patrik Nordwall
6a7133ea21 !tes #16075 Change default awaitAssert interval to 100 ms 2014-11-21 11:36:37 +01:00
Andrei Pozolotin
d83acb92c3 = akka-*: full name space for loggers - resolve #16138
reflect logger name changes in the migration guide

fix typo in migration guide

fix typo in migration guide (xml)
2014-11-18 09:17:07 -06:00
Martin Eigenbrodt
69387bbc45 !act #16125 Timeout Calls through CircuitBreaker.
CircuitBreaker used to wait idenfinitly for a call and only compare
duration after the facts.
It will now increment its failure count early and throw a TimeoutException or return a Failure[TimeoutException].
2014-11-18 05:36:53 +01:00
kerr
7ddaac3961 =doc #16300 correct remote doc to right package 2014-11-14 01:21:31 +08:00
Patrik Nordwall
c0bd00409b =doc Fix wrong rst format 2014-11-10 17:28:16 +01:00
Konrad Malawski
7e12ad4bce Merge pull request #16240 from BPoserow/fix-fsm-timeout-docs-15542-bposerow
+doc #15542 Change FSM doc rst file to correctly specify None value for ...
2014-11-07 15:44:02 +01:00
Benjamin Poserow
95b737b677 +doc #15542 Change FSM doc rst file to correctly specify None value for infinite timeout rather than Duration.Inf 2014-11-06 22:43:54 -05:00
Balázs Kossovics
324dc0f0c5 =doc #16198 FSM extends Actor, not depends on it
The documentation incorrectly stated that FSM uses self type references
to depend on Actor, but it’s false, FSM directly extends Actor.
2014-11-03 23:43:50 +01:00
Patrik Nordwall
6800c51e56 Merge pull request #16173 from akka/wip-native-packager-patriknw
=doc Describe how to use microKernel with sbt-native-packager
2014-11-03 10:05:46 +01:00
Konrad Malawski
7dfeda0824 Merge pull request #16192 from ktoso/doc-push-over-finish-line-actor-child-testing-ktoso
=doc #13043 Adding section on testing parent-child relationships
2014-11-03 10:01:10 +01:00
Konrad 'ktoso' Malawski
3f12ef262f !clu #15042 useRole restriction on local node is now respected
This is an API breaking change if someone implemented their own Routers.
The change is required because the router must know if the local routees
should be started or not so it has to check the roles of the cluster
member (the local one). We could delay this decision of starting local
routees, but that would allow messages to be dead-letter-ed (bad).
2014-10-31 22:33:23 +01:00
Marcus Ljungblad
dd8c920280 =doc #13043 Adding section on testing parent-child relationships 2014-10-31 15:43:20 +01:00
Max Cai
3ecdf40806 =doc Describe how to use microKernel with sbt-native-packager
(cherry picked from commit 6a79ad1287fb776eac1cac07a8a45dc0b597cede)

Conflicts:
	project/plugins.sbt
2014-10-31 11:30:05 +01:00
Patrik Nordwall
35cf4da860 =doc Link to CONTRIBUTING.md and remove obsolete dev guidelines
(cherry picked from commit 84382f06494e908a2fa5e1ab452ba0fe770ba239)
2014-10-24 12:37:19 +02:00
Martynas Mickevičius
9e915d73bb Merge pull request #16135 from 2m/wip-fix-docs-build-python3
=doc #16134 read file as binary stream, because StreamReader expects binary
2014-10-24 13:00:05 +03:00
Björn Antonsson
549a973975 Merge pull request #16139 from akka/wip-akka-docs-updated-skin-rasummer
=doc New styling and logos for the documentation
2014-10-24 07:35:46 +02:00
rasummer
6b8bd44181 =doc New styling and logos for the documentation
* Updated CSS Styles, new logos (SVG format), New header/nav design. General colors overrides, small but safe HTML changes, new favicon.
* Updated GA snippet with addition domain, added Marketo snippet
* Made fonts consistent, styled note and warning in TS/Akka colors
2014-10-24 06:05:49 +02:00
Martynas Mickevičius
73406184ed =doc #16134 read file as binary stream, because StreamReader expects binary 2014-10-23 18:36:55 +03:00