Commit graph

1858 commits

Author SHA1 Message Date
Patrik Nordwall
23dd957ba2 =doc #3689 Make activator templates for camel samples
* @rkuhn found the problems in the scala camel samples
  - HttpSample returns scrambled data
  - CustomRouteSample times out
2013-12-12 16:03:02 +01:00
Patrik Nordwall
362074177a =doc #3689 Make activator template for akka.Main 2013-12-12 16:03:02 +01:00
Patrik Nordwall
8b6b2965e5 Merge pull request #1863 from krasserm/wip-3761-reliable-channels-krasserm
!per #3761 Reliable channels
2013-12-12 06:45:29 -08:00
Patrik Nordwall
4ab877e765 !act #3786 Remove deprecated DefaultScheduler
* Replaced by LightArrayRevolverScheduler
2013-12-12 13:17:43 +01:00
Patrik Nordwall
b072a530ef !act #2770 Remove deprecated FSM.timerActive_?
* and a few similar in TypedActor
2013-12-12 13:11:01 +01:00
Patrik Nordwall
67b9cec8a4 !act #3012 Remove deprecated event-handlers 2013-12-12 13:06:42 +01:00
Martin Krasser
4e5ce5529c !per #3761 Reliable channels
- Built-in redelivery mechanism for Channel and PersistentChannel
- redelivery counter on ConfirmablePersistent
- redeliveries out of initial message delivery order
- relative order of redelivered messages is preserved
- configurable redelivery policy (ChannelSettings)
- Major refactorings of channels (and channel tests)
- Throughput load test for PersistentChannel

Todo:

- Paged/throtlled replay (another pull request)
- Resequencer (another pull request)
2013-12-12 12:22:46 +01:00
Roland Kuhn
77f66adfd2 Merge pull request #1868 from decodeideas/master
Class name typo in the testing documentation
2013-12-11 08:54:49 -08:00
Endre Sándor Varga
b543644baa !act #3670: Removing old IO implementation 2013-12-11 11:07:21 +01:00
MariusSeritan
c255ec104a Class name typo in the testing documentation
The section Watching ... from Probes references class TestKit where TestProbe should be used.
2013-12-08 13:41:39 -08:00
Roland Kuhn
3fdf20dfc6 Merge pull request #1854 from akka/wip-remove-dynamo-section-from-cluster-spec
Removed section on how to create a dynamo style db on top of Akka from cluster docs
2013-12-07 01:48:23 -08:00
Roland Kuhn
55b80b1a8a remove orphaned link 2013-12-07 10:48:07 +01:00
Roland Kuhn
115d7831b4 Merge pull request #1842 from akka/wip-props-docs-name-∂π
fix misleading Recommended Practices
2013-12-06 06:50:52 -08:00
Björn Antonsson
cb729228b0 Merge pull request #1859 from akka/wip-3753-change-build-to-allow-scala-nightlies-ban
=pro #3753 Override dependency versions from command line
2013-12-04 02:04:41 -08:00
Björn Antonsson
00a268b6b3 =pro #3753 Override dependency versions from command line 2013-12-03 16:47:10 +01:00
Martin Krasser
d0bc8a6400 +per #3746 Remote sharing of LevelDB for testing purposes
Further changes

- remove obsolete identity checks in Eventsourced
- fix wrong serialize-messages config in tests
2013-12-03 08:51:25 +01:00
Jonas Boner
e8118a78e5 Removed section on how to create a dynamo style db on top of Akka from cluster docs 2013-11-28 10:54:07 +01:00
Patrik Nordwall
4d05253391 Merge pull request #1844 from krasserm/wip-3729-journaling-protocol-optimization-krasserm
!per #3729 Journaling protocol optimization
2013-11-27 08:43:45 -08:00
Martin Krasser
6e2f80bab0 !per #3729 Journaling protocol optimization
- internal batching of individually received Persistent messages
- testing fault tolerance of Processor in presence of random
  * journaling failures
  * processing failures
2013-11-27 13:51:27 +01:00
Roland Kuhn
c7ac860dbc =doc fix misleading Recommended Practices
also rename recommended static method from mkProps to props for Java
2013-11-27 10:57:43 +01:00
Viktor Klang
7588f04292 +act #3630 - Only fall back to default ctor if NoSuchMethodException 2013-11-22 17:13:24 -08:00
Patrik Nordwall
c35988de2c Merge pull request #1829 from akka/wip-3683-pingpong-cluster-heartbeat-patriknw
!clu #3683 Change cluster heartbeat to req/rsp protocol
2013-11-22 05:18:17 -08:00
Patrik Nordwall
524addd404 Merge pull request #1838 from krasserm/wip-3717-deletion-api-krasserm
!per #3717 Deletion API for snapshots and persistent messages
2013-11-21 00:54:44 -08:00
Martin Krasser
4489a72bea !per #3717 Deletion API for snapshots and persistent messages
- single and bulk deletion of messages
- single and bulk deletion of snapshots
- run journal and snapshot store as system actors
- rename physical parameter in delete methods to permanent
- StashSupport.prepend docs and implementation enhancements
2013-11-20 14:45:29 +01:00
Patrik Nordwall
403a1c54fb Merge pull request #1818 from akka/wip-3656-incomplete-TA-docs-√
+doc #3656 correcting the TypedActor documentation
2013-11-20 03:01:01 -08:00
Gaston M. Tonietti
9e9d5541b4 +act #3671 Implementing support for MDC values defined by the application. Fixes #3671.
* Added LogEvent subclasses with new field for transporting the MDC custom values.
* Slf4jLogger now takes MDC values from new LogEvent field, puts all in MDC before appending the log, and removes all after.
* New trait DiagnosticLoggingAdapter was introduced, which extends LoggingAdapter and adds MDC support with methods to get, set and clear MDC values.
* New factory method added to Logging for getting loggers with MDC support.
* BusLogging was changed to create new LogEvents including the MDC values.
* Actors can mixin with DiagnosticActorLogging which defines a diagnostic logger "log", has a hook to override for defining MDC values per message, and overrides aroundReceive for setting and clearing MDC around receive execution.
* Proper documentation was added for Scala and Java under the Logging/Slf4j section.
2013-11-15 11:09:22 -03:00
Patrik Nordwall
eaad7ecf7e !clu #3683 Change cluster heartbeat to req/rsp protocol
* The previous one-way hearbeat was elegant, but comlicated to
  understand and without giving much extra value compared to this approach.
* The previous one-way heartbeat have some kind of bug when joining
  several (10-20) nodes at approximately the same time (but not exactly
  the same time) with a false failure detection triggered by the extra heartbeat,
  which would not heal.
* This ping-pong approach will increase network traffic slightly, but heartbeat
  messages are small and each node is limited to monitor (default) 5 peers.
2013-11-15 08:18:52 +01:00
Patrik Nordwall
05f402c236 Merge pull request #1825 from akka/wip-3665-untrusted-ActorSelection-patriknw
+rem #3665 Allow trusted selections in untrusted-mode
2013-11-14 23:07:50 -08:00
Patrik Nordwall
d0e5f3cbe9 =doc Add dependency and sample to osgi docs 2013-11-14 14:26:18 +01:00
Patrik Nordwall
67393c0fb6 +rem #3665 Allow trusted selections in untrusted-mode 2013-11-14 14:08:46 +01:00
Martin Krasser
ba9fc4da46 !per #3707 Channel enhancements
- Persistent channel
- ConfirmablePersistent message type delivered by channel
- Sender resolution performance improvements
   * unstash() instead of unstashAll()

These enhancements required the following changes

- Unified implementation of processor stash and user stash
- Persistence message plugin API separated from implementation
- Physical deletion of messages
2013-11-14 12:05:37 +01:00
Viktor Klang
4769a44875 +doc #3656 correcting the TypedActor documentation 2013-11-05 15:31:24 +01:00
Patrik Nordwall
fa4c859342 =doc Update Sphinx installation instructions 2013-11-01 11:46:44 +01:00
Patrik Nordwall
6a6525fa1f Merge pull request #1808 from krasserm/wip-3681-performance-improvements-krasserm
!per #3681 Performance and consistency improvements
2013-10-30 08:17:01 -07:00
Martin Krasser
1da3369643 !per #3681 Performance and consistency improvements
- batch-write of persistent messages (user API)
- batch-write of events (in EventsourcedProcessor)
- command processing in EventsourcedProcessor by unstashing messages one-by-one from the internal stash
   * fixes performance issues that come up with unstashAll
- commands are not looped through journal actor but processed directly
- initial performance tests
  * command sourcing
  * event sourcing
  * event sourcing with user stash operations
- suppress stack traces in tests
2013-10-30 15:08:15 +01:00
Björn Antonsson
6784d6bc2f =doc #3684 Document that SslTlsSupport doesn't support Tcp.WriteCommand. 2013-10-23 15:21:34 +02:00
Björn Antonsson
20015abaeb =doc #3682 Document message size limit in SslTlsSupport. 2013-10-22 14:05:18 +02:00
Björn Antonsson
d2644876e5 Merge pull request #1781 from levinotik/documentation-fixes
=doc Fix misspelled method reference in FSM
2013-10-21 04:35:12 -07:00
Levi Notik
1dec335ad2 =doc Fix misspelled method reference in FSM 2013-10-18 13:16:56 -04:00
Patrik Nordwall
d4cce379ce Merge pull request #1776 from akka/wip-3663-balancing-disp-patriknw
+act #3663 Package BalancingDispatcher for usage in router pool
2013-10-17 05:09:43 -07:00
Patrik Nordwall
a2c5239c49 Merge pull request #1772 from akka/wip-3627-cluster-routee-paths-patriknw
+clu #3627 Cluster router group  with multiple paths per node
2013-10-17 05:09:21 -07:00
Patrik Nordwall
f194860dfb Merge pull request #1766 from eligosource/wip-3661-event-sourcing-krasserm
+per #3661 Event sourcing support
2013-10-16 22:55:47 -07:00
Patrik Nordwall
80892762ad +act #3663 Package BalancingDispatcher for usage in router pool
* In fact, make it easy to define any dedicated dispatcher for a pool
2013-10-16 14:44:39 +02:00
Martin Krasser
0a2cfdc4d1 +per #3661 Event sourcing support 2013-10-16 13:38:11 +02:00
Patrik Nordwall
402674ce10 +clu #3627 Cluster router group with multiple paths per node
* Use the ordinary routees.paths config property instead of
  cluster.routees-path
* Backwards compatible in deprecation phase
2013-10-16 11:44:00 +02:00
Patrik Nordwall
ebadd567b2 !act,rem,clu #3549 Simplify and enhance routers
* Separate routing logic, to be usable stand alone, e.g. in actors
* Simplify RouterConfig, only a factory
* Move reading of config from Deployer to the RouterConfig
* Distiction between Pool and Group router types
* Remove usage of actorFor, use ActorSelection
* Management messages to add and remove routees
* Simplify the internals of RoutedActorCell & co
* Move resize specific code to separate RoutedActorCell subclass
* Change resizer api to only return capacity change
* Resizer only allowed together with Pool
* Re-implement all routers, and keep old api during deprecation phase
* Replace ClusterRouterConfig, deprecation
* Rewrite documentation
* Migration guide
* Also includes related ticket:
  +act #3087 Create nicer Props factories for RouterConfig
2013-10-16 09:27:13 +02:00
Patrik Nordwall
81ca6fe8c8 Merge pull request #1765 from akka/wip-3636-revert-join-uninitialized-patriknw
+clu #3636 Revert join to uninitialized
2013-10-15 07:07:29 -07:00
Björn Antonsson
4e1100f84d =doc #3639 Show complete custom mailbox example. 2013-10-15 12:18:17 +02:00
Patrik Nordwall
c449f5afff +clu #3636 Revert join to uninitialized
* Revert the change introduced in
  https://github.com/akka/akka/pull/1738/files
* The cleanup/improvements aside of the actual
  feature is not reverted by this patch
* Clarify the documentation
2013-10-14 17:53:07 +02:00
Martin Krasser
2a30399a29 !per #3652 Custom snapshot and persistent message serialization
- Protobuf serializer for Persistent message
- Configurable serializer for Persistent message's payload
- Configurable serializer for snapshots
2013-10-14 17:35:04 +02:00