Commit graph

19576 commits

Author SHA1 Message Date
Richard Imaoka
98bfbbb4b3 Add documentation for ReplayFilter #20301 2016-09-12 16:18:06 +02:00
Johan Andrén
75bbd7d00b -doc Remove stale other language bindings doc page #21426 (#21432) 2016-09-12 11:59:38 +02:00
Richard Imaoka
0f2da7b26b Add instruction for akka-samples (Fixes #21415) (#21416) 2016-09-09 13:15:33 +02:00
Roland Kuhn
1b9186ba9d Merge pull request #21128 from akka/wip-new-Typed-Impl-RK
New implementation for Akka Typed
2016-09-08 12:19:36 +02:00
Michał Płachta
b3bba1229f Make map stage final and refactor OneBoundedSetup to take a decider. (#21374)
* Remove new from Map constructions
2016-09-08 11:47:17 +02:00
Roland Kuhn
320271cc31 new implementation for Akka Typed #21131
This is the first step towards a completely new and optimized actor
implementation for Akka Typed. The full previously existing test suite
passes for both implementations. The following is an incomplete list of
things that remain to be done:

* document the semantic differences between untyped and typed, in
  particular around actor restarts and the delivery ordering guarantees
  for Terminated messages (also document the difference between
  ActorSystemImpl and ActorSystemAdapter)
* implement EventStream and logging—this currently just delegates to an
  extra untyped ActorSystem (of course To Be Fixed)
* implement dispatcher selection
* implement and test queue size limitation
* implement optimized message queue instead of CLQ (for zero-allocation
  messaging)
* clean up test log output (something does not work with TestEventListener
  and EventFilter for ActorSystemImpl tests)
* document the capabilities (or more appropriately: the limitations) of
  interoperability between ActorSystemImpl and ActorSystemAdapter
* fix ActorPath UID generation (i.e. make sure that everything gets a
  meaningful value instead of zero)
* re-evaluate throughput/rescheduling logic in ActorCell

Oh, and by the way: as per PerformanceSpec (doing simple ping-pong) the
new implementation is ca. 30% faster than the adapter over akka-actor
:-)
2016-09-08 10:10:35 +02:00
Johannes Rudolph
fc3761bc4b Merge pull request #21384 from jrudolph/wip-21281-fix-authorization-param-rendering
=htc #21281 render empty params double quoted in headers like `Authorization`
2016-09-07 19:20:57 +02:00
gosubpl
7bcf0285a1 =htc #20793 make Marshaller.fromStatusCode emit empty entity for StatusCode with allowEntity=false 2016-09-07 19:12:42 +02:00
Johannes Rudolph
06a91f1d82
=htc #21281 render empty params double quoted in headers like Authorization 2016-09-06 20:10:39 +02:00
Patrik Nordwall
f5f37fbc39 Merge pull request #21379 from richard-imaoka/wip-21060-doc-persistid-unique-richard-imaoka
Add a comment on persistenceId uniqueness
2016-09-06 12:32:57 +02:00
Bernard Leach
1c8c2595d2 =htc #19643, #20570, #21235 Refactor PoolSlot to GraphStage to address race conditions
This fixes various bugs that arose because of manual implementation of ActorPublisher and ActorSubscriber.

Fixes #19643, #20570, and #21235.
2016-09-06 11:54:43 +02:00
Richard S. Imaoka
e35c8b0d31 Comment on persistenceId uniqueness (#21060) 2016-09-06 14:20:48 +09:00
kenji yoshida
95d13d4771 =act fix typo in ByteString#take error message (#21366) 2016-09-05 11:05:34 +02:00
Hawstein
b9a05aff96 add java api for websocket testkit #21184
And additionally adds unit test for WebSocketDirectives #20466
2016-09-02 13:28:49 +02:00
Hawstein
df4a6270e6 exponential backoff in circuit breaker #21036 2016-09-02 13:24:17 +02:00
Patrik Nordwall
0b8d3c1f00 Merge pull request #21350 from akka/wip-docs-rp2-patriknw
Update links to Lightbend RPv2, more warnings about auto-down
2016-09-02 13:17:09 +02:00
Patrik Nordwall
41f3d6b147 Merge pull request #21351 from akka/wip-21343-exc-toBinary-patriknw
treat serialization (toBinary) exception of remote message as transient error, #21343
2016-09-02 13:15:15 +02:00
Patrik Nordwall
fa084fc5ce treat serialization (toBinary) exception of remote message as transient error, #21343 2016-09-02 11:05:00 +02:00
Patrik Nordwall
0a75f992e4 Update links to Lightbend RPv2, more warnings about auto-down 2016-09-02 10:26:47 +02:00
Patrik Nordwall
ee116dcdab Merge pull request #21201 from jypma/testkit_parent
#21198 Allow TestActor/TestKit/TestProbe to create child actors
2016-09-01 15:33:28 +02:00
Jan Ypma
09f2d83e69 +tes #21198 Allow TestActor/TestKit/TestProbe to create child actors
This is useful in at least two scenarios:
- Unit testing actors that communicate to their parent directly
- Testing re-creating (typically persistent) actors with the same name
2016-09-01 11:38:07 +02:00
drewhk
4821fb158e #20904: Increase timeouts in TestKitDoc tests, use Sink.seq (#21260) 2016-08-31 17:20:05 +01:00
Konrad Malawski
42a25609c1 Merge pull request #21329 from akka/wip-docs
=doc fix getStageActor docs typo (remove "not")
2016-08-31 13:01:00 +01:00
Konrad Malawski
8e35c03f51 =doc fix getStageActor docs typo (remove "not")
As follow up to https://github.com/akka/akka/pull/21323
due to CLA not signed, and released into public domain.
2016-08-31 12:05:12 +01:00
Konrad Malawski
b1d07498e2 =htp fix for infinite timeout disabling timeout infrastructure (#20817) (#21295)
* fix for infinite timeout disabling timeout infrastructure (#20817)

* filtering out timeout-access header in tests where necessary (#20817)

* filtering out timeout-access header in additional tests (#20817)

* added DummyCancellable object to avoid allocation (#20817)

* added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817)
2016-08-31 09:49:41 +01:00
gosubpl
7d7a5e51da added test showing that timeout is correctly reset for both infinite as well as finite initial request-timeout (#20817) 2016-08-30 22:18:26 +02:00
Patrik Nordwall
2bc25bff17 Merge pull request #21320 from johanandren/wip-21229-persistent-actor-failure-spec-race-johanandren
Race in PersistentActorFailureSpec removed
2016-08-30 19:43:39 +02:00
Patrik Nordwall
a95b2d6746 fail fast in mapAsync for completed failed future, #21318 (#21322)
* fail fast in mapAsync for completed failed future, #21318

* the callback was not run until todo == parallelism or the sync
  event limit was reached, and that can be a problem if upstream
  stages are slow (noticed this for a blocking Kafka producer stage)

* skip callback for completed futures

* fix callback allocation
2016-08-30 19:30:08 +02:00
Johan Andrén
e20d6f5f36 More generous timeout directive spec timeout #20278 2016-08-30 15:04:21 +02:00
Johan Andrén
b3cfd1c0ed Race in PersistentActorFailureSpec removed #21229 2016-08-30 14:46:51 +02:00
Johan Andrén
012919fdb3 OrElse stage for fallback when no elements emitted #21024 2016-08-30 13:35:59 +02:00
Johan Andrén
fbfc8b4c58 Http internal One2OneBidi pulling closed port #20944 2016-08-30 12:50:12 +02:00
Konrad Malawski
8c98d6cd74 * -htc remove proxy settings because not implemented (#21288) 2016-08-30 10:37:17 +01:00
Richard Imaoka
ec7d6a6998 Expose success and fail methods in CircuitBreaker #18347 2016-08-30 11:09:19 +02:00
Johan Andrén
faf717591b =htc Response rendering spec hardening #21088 (#21245)
A bit more time between the always-close and the guess-that-the-blueprint-closed timeouts
2016-08-30 09:38:17 +01:00
drewhk
f062687a0e Merge pull request #21259 from drewhk/wip-20933-recoverWith-nondetached-drewhk
#20933: Make RecoverWith non-detached (also eliminates race in test)
2016-08-30 10:38:00 +02:00
Patrik Nordwall
359a087674 Merge pull request #21166 from naferx/sink-graphstage
=str rewrite Sink internal impl as GraphStage
2016-08-30 10:37:30 +02:00
Martynas Mickevičius
8f183a04fb Merge pull request #21315 from 2m/wip-scaladex-deps
Add badge to Scaladex search for projects depending on Akka
2016-08-30 11:31:11 +03:00
Martynas Mickevicius
3e43b7fb55 Add badge to Scaladex search for Akka Actor, Stream and Http dependencies. 2016-08-30 01:59:19 +03:00
gosubpl
0e09253adf added DummyCancellable object to avoid allocation (#20817) 2016-08-29 21:48:32 +02:00
Johan Andrén
f760b98e8c Use in-memory filesystem for the file sink and source #20726 2016-08-29 16:33:33 +02:00
Johan Andrén
bc09e610f6 =per Log more info when recovery fails #20728 (#21313) 2016-08-29 13:20:48 +01:00
Cédric Chantepie
324a40ba97 =str Refactoring to avoid distinct handler instantiation for stage logics (#21309)
* Refactoring to avoid distinct handler instantiation for stage logics

* setHandlers
2016-08-29 13:00:48 +01:00
Konrad Malawski
fb45dd03f3 =act #21237 fix regression in ByteString.slice (#21294)
* =act #21237 fix regression in ByteString.slice

* Update ByteStringSpec.scala
2016-08-29 09:38:09 +01:00
2beaucoup
9ef93c6200 =htp change extract to provide (#21302) 2016-08-28 12:57:24 +01:00
gosubpl
ce4e208d85 filtering out timeout-access header in additional tests (#20817) 2016-08-28 00:23:40 +02:00
gosubpl
7690d1dbbd filtering out timeout-access header in tests where necessary (#20817) 2016-08-27 07:09:40 +02:00
dyk
0e302d2236 =htp Extract RemoteAddress.Unknown when cannot find client ip (#21289)
* handle unknown client ip

* updated doc

* fixed java dsl test
2016-08-26 15:47:36 +01:00
Patrik Nordwall
3e86c2a44f Merge pull request #21299 from akka/wip-2.12-patriknw
add `override` for scala/scala#5331
2016-08-26 15:40:19 +02:00
Adriaan Moors
95f43c55cd add override for scala/scala#5331 2016-08-26 13:43:12 +02:00