Commit graph

1805 commits

Author SHA1 Message Date
drewhk
19d8da60ee Merge pull request #19874 from akka/wip-19873-MetricsBasedResizerSpec-RK
make MetricsBasedResizerSpec deterministic, fixes #19873
2016-02-26 16:20:28 +01:00
Roland Kuhn
45e97e8467 remove akka.stream.testkit.AkkaSpec, fixes #19879 2016-02-25 15:26:51 +01:00
Roland Kuhn
ff1118a30e make MetricsBasedResizerSpec deterministic, fixes #19873 2016-02-24 18:52:53 +01:00
Roland Kuhn
76a9942985 Merge pull request #19705 from virsox/virsox-19704
+act #19704 Fix UnboundedControlAwareMessageQueueSemantics verification
2016-02-24 16:05:29 +01:00
Johannes Rudolph
b6cbc7f13a =all remove unused imports 2016-02-23 20:29:22 +01:00
Johan Andrén
62e30b3c08 Update copyrights and links to the new company name #19851 2016-02-23 12:58:39 +01:00
Roland Kuhn
d11d461805 Merge pull request #19753 from pvlugter/generate-versions
Generate version files
2016-02-16 13:56:54 +01:00
Peter Vlugter
0e3b31d7c2 Generate version files from the version sbt setting 2016-02-12 17:57:27 +13:00
Endre Sándor Varga
f1e1751fd4 #19645: BackoffOnRestartSupervisor should not ignore commands while child is terminating 2016-02-10 11:15:54 +01:00
Wilson A Higashino
0b7635651d +act #19704 Fix UnboundedControlAwareMessageQueueSemantics verification 2016-02-07 21:10:21 -05:00
Prayag Verma
b7783968a0 =pro #19068 All copyrights ranges and single years updated to a range ending in 2016 2016-01-25 10:20:30 +01:00
Endre Sándor Varga
88e3311c38 #19344 Made BackoffSupervisorSpec more robust 2016-01-22 14:24:36 +01:00
Roland Kuhn
3140e72265 #19046 replace system.{shutdown => terminate} 2016-01-20 11:50:43 +01:00
Konrad Malawski
0a5ff1cafe Merge pull request #19497 from ktoso/wip-logging
=act #19496 add sender information in LoggingReceive
2016-01-19 11:14:28 +01:00
Martynas Mickevičius
8c1350b0d4 Merge pull request #19505 from 2m/wip-stream-build-fix
Various streams build improvements
2016-01-19 11:17:11 +02:00
Roland Kuhn
ea34103f98 #19014 add FunctionRef and use in GraphStage.StageActor
This new light-weight ActorRef supports running a non-blocking
side-effect upon message send, which is used to dispatch an async
callback to a GraphStageLogic, or it can be used to make the Akka Typed
adapters more efficient. The FunctionRef is registered with its parent,
and it is not user-level API (hence only accessible by downcasting the
ActorContext).
2016-01-19 08:32:38 +01:00
Martynas Mickevičius
7743aa9d0a Various streams build improvements
* remove settings duplication between AkkaBuild and project specific .sbt files
* do not publish test projects
* run akka-http-core tests
* fix lambda sample project versions
* remove obsolete projects (streamAndHttp, httpParent, docsDev)
* exclude parsing project from unidoc
* update to the latest sbt
2016-01-18 18:16:30 +02:00
Konrad Malawski
9209a302c5 =act #19496 add sender information in LoggingReceive 2016-01-17 20:49:10 +01:00
Konrad Malawski
6ecab411b8 Revert "=act,rem #17911 handle IPv6 Addresses better" 2016-01-07 11:03:18 +01:00
Konrad Malawski
c1f20cd9fa Merge pull request #19353 from akka/wip-17911-safe-ipv6-address-handling-johanandren
=act,rem #17911 handle IPv6 Addresses better
2016-01-07 10:34:09 +01:00
Johan Andrén
711c407a8f =act,rem #17911 handle IPv6 Addresses better
* NettyTransport will autowrap IPv6 addresses in brackets if needed
* Address asserts that IPv6 addresses are wrapped in brackets
2016-01-05 21:47:45 +01:00
Johan Andrén
5053bd007a =act #19341 increase timeout of askspec testcase 2016-01-05 11:18:51 +01:00
Raymond Roestenburg
2404a9da01 #19246 Auto and manual reset and BackoffOptions.
Also moved `TransparantExponentialBackoffSupervisor` to `akka.pattern` (renamed to `BackoffOnRestartSupervisor`)
2015-12-29 21:23:16 +02:00
Patrik Nordwall
a1c3dbe307 =act #19201 improve configuration of thread-pool-executor
* The old implementation would cap the pool size (both corePoolSize
  and maximumPoolSize) to max-pool-size, which is very confusing
  becuase maximumPoolSize is only used when the task queue is bounded.
* That resulted in configuring core-pool-size-min and core-pool-size-max
  was not enough, because it could be capped by the default max-pool-size.
* The new behavior is simply that maximumPoolSize is adjusted to not be
  less than corePoolSize, but otherwise the config properties match the
  underlying ThreadPoolExecutor implementation.
* Added a convenience fixed-pool-size property.
2015-12-21 09:50:02 +01:00
Konrad Malawski
9abb1eaea6 +act #19085 adds Java API ByteString#createBuilder 2015-12-04 13:07:56 +01:00
Patrik Nordwall
bba8495a39 Merge pull request #18998 from jypma/pfbuilder_api_master
PFBuilder matchAny should take declared input type I
2015-11-24 11:44:22 +01:00
Patrik Nordwall
054e292563 Merge pull request #18944 from akka/wip-18487-BackofSupervisor-decider-patriknw
+act #18487 Support custom supervision strategy in BackoffSupervisor
2015-11-24 10:40:19 +01:00
Jan Ypma
9c1c3f3b2c !act #18996 PFBuilder matchAny should take declared input type I
Currently PFBuilder.matchAny takes a lambda with Object as input argument.
This loses type information for partial functions that are not akka
receive functions, e.g. exception handlers (PF<Exception,RouteResult).
With this change, the fallback handler still has the guaranteed type I
visible on its lambda.
2015-11-23 13:19:40 +01:00
drewhk
2bd88eab5c Merge pull request #18931 from lolski/lolski-issue-18913
moving PrettyDuration and PrettyDurationSpec to akka.util
2015-11-23 12:58:11 +01:00
lolski
8819535250 +act #18913 moved PrettyDuration to akka-actor 2015-11-21 00:01:51 +08:00
Patrik Nordwall
3f3642337e +act #18487 Support custom supervision strategy in BackoffSupervisor
* and forward messages from child to parent
  (needed for sharding passivation)
2015-11-16 17:46:02 +01:00
Anton Karamanov
0e31184c91 +act #15819 Add PromiseRef and FutureRef as an alternative to ask pattern 2015-11-13 01:25:28 +03:00
Anton Karamanov
254c478ebb +act #15819 Create ask() variant that can be used without sender() 2015-11-13 01:25:28 +03:00
Johan Andrén
ea22eca7fd =act #18607 Test failing on timeout not happening
Changed the future to never complete to be sure there is no racing
2015-11-11 12:35:31 +01:00
Andrea
cd3d68a77c =act switch to java std lib ThreadLocalRandom 2015-11-06 14:04:33 +01:00
Patrik Nordwall
ac82354077 Merge pull request #18552 from johanandren/wip-18371-warn-about-java-serialization-johanandren
=act #18371 Warn if the default Java serializer is used
2015-10-26 08:34:11 +01:00
Kailuo Wang
90cba9ce0d +act #18356 Metrics based resizer for router 2015-10-22 11:14:00 -04:00
Johan Andrén
146bb89e23 =act #18371 Warn if the default Java serializer is used
Unless the message is in akka.* or the configuration setting 'akka.actor.warn-about-java-serializer-usage'
is disabled a warning is logged for each class that the Java serializer is choosen for.
2015-10-21 10:10:24 +02:00
Patrik Nordwall
9e8168479a =act #18346 Document scheduler task throws 2015-09-10 17:03:18 +02:00
Patrik Nordwall
b4e482e092 +act #16629 Possibility to receive messages that not reset receiveTimeout
Need this for AtLeastOnceDelivery

Messages marked with `NotInfluenceReceiveTimeout` will not reset the timer.
This can be useful when `ReceiveTimeout` should be fired by external inactivity
but not influenced by internal activity, e.g. scheduled tick messages.

add to rst docs also
2015-08-19 15:29:22 +02:00
Patrik Nordwall
81caeb4fc6 =act #15040 ScatterGatherFirstCompleted reply when no routees 2015-08-18 18:04:34 +02:00
Patrik Nordwall
af4d09857c =act #17842 Move BackoffSupervisorSpec to akka-actor-tests
* it was forgotten in the previous move of BackoffSupervisor
2015-08-12 14:56:31 +02:00
Konrad Malawski
ce3180be6e =act 18160 harden SchedulerSpec slightly 2015-08-10 13:19:28 +02:00
Konrad Malawski
5d746b40b1 =act,per additional test for onTransition behaviour when initialize() called 2015-07-10 00:52:26 +02:00
Martynas Mickevičius
aaa6b623e1 Merge pull request #17892 from 2m/wip-relax-actor-system-spec
=act #17822 harden ActorSystemSpec
2015-07-03 08:41:51 +03:00
Martynas Mickevičius
8346e40f39 =act #17822 harden ActorSystemSpec 2015-07-02 10:04:47 +03:00
Konrad Malawski
140c4dcdce =pro #17855 dont publish benchmarks or tests, fix license in bench 2015-07-01 17:05:12 +02:00
Konrad Malawski
2a5161ff6f !per #17755 removes the saved callback in plugins and adds receive 2015-06-25 13:44:03 +02:00
Konrad Malawski
9e3a9983a7 +act #17719 introduce Tuple3-22 classes for java api 2015-06-23 15:01:35 +02:00
Konrad Malawski
2c606383e5 Merge pull request #17763 from ktoso/wip-17690-validations-in-root-actor-path-ktoso
=act #17690 add additional validation for name param in RootActorPath
2015-06-22 17:16:53 +02:00