Commit graph

1481 commits

Author SHA1 Message Date
Renato Cavalcanti
c83e4adfea Rolling update config checker, #24009
* adds config compatibility check
* doc'ed what happens when joining a cluster not supporting this feature
* added extra docs over sensitive paths
2018-02-20 15:47:09 +01:00
Martynas Mickevičius
39cb013f9f
Cut the detail level in half 2018-02-20 14:10:44 +02:00
Konrad `ktoso` Malawski
8d1feb5a10
fix java documentation snippet by being explicit (#24569)
* fix java documentation snippet by being explicit

* Update FaultHandlingTest.java

* Update FaultHandlingTest.java

* Update FaultHandlingTest.java
2018-02-20 18:07:40 +09:00
Johan Andrén
ba5f26f7bf Link to Vavr sample project (#24570) 2018-02-20 17:20:36 +09:00
Johan Andrén
2b8b946bc7 A bit more generous timeouts in RateTransformationDocSpec #24559 (#24564) 2018-02-19 11:19:56 +01:00
Patrik Nordwall
16e6fb9d77
Merge pull request #24521 from svezfaz/actorpublisher-actorsubscriber-docs-cleanup
=doc cleaning up documentation on deprecated actorSubscriber and actorPublisher
2018-02-19 11:19:03 +01:00
Patrik Nordwall
11366ddac5
Merge pull request #24562 from rch/patch-1
Deprecated method used in docs
2018-02-19 10:37:32 +01:00
jeremystone
e766207a87 alsoTo eager cancellation #24291 2018-02-19 08:31:13 +01:00
Ryan C. Hill
acbf1ce7b5
Deprecated method used in docs
Updated example code to use the alternative method provided in v2.5.0
2018-02-16 16:15:13 -07:00
Johan Andrén
14bb878da1
Typed: Renaming deferred to setup #24548 2018-02-15 13:40:26 +01:00
Christopher Batey
eede5533ac
Chunker should only pull if buffer is empty (#24019)
For the current Chunker if the upstream sends larger messages than the
chunk size the buffer can slowly fill up until the app OOMs. Change it
so it only pulls if the buffer is empty
2018-02-14 16:18:58 +00:00
Catalin Ursachi
ccf5d46a58 Add wireTap combinator (#15077) (#23824) 2018-02-13 20:39:00 +01:00
Arnout Engelen
f2e39c7534 Add example of testing actors with subclassing (#24539) 2018-02-13 19:29:30 +01:00
Richard Imaoka
b3a27d1c9f Add log() in stream-error.md (#24522)
* Add log() in stream-error.md (#23722)
2018-02-12 14:30:54 +00:00
Johan Andrén
cb048457c8
StreamTcpDocSpec: Less race, better error if client fails #24500 2018-02-12 14:42:52 +01:00
Johan Andrén
4cde6e7feb Less fragile way of waiting for stream completion #24501 (#24528) 2018-02-12 14:38:22 +01:00
Richard Imaoka
caabfdecfc =doc cluster client: Introduce javadoc and scaladoc directives (#24524) 2018-02-12 11:02:13 +01:00
svezfaz
60f5b9690e cleaning up documentation on deprecated actorSubscriber and actorPublisher 2018-02-10 20:49:23 +00:00
James Roper
5696a6d3f3 Changed StreamRefs docs title to RS over the network (#24506) 2018-02-08 13:26:17 +01:00
Arnout Engelen
6012b93c13
Remove auto-fusing option from docs (#24510)
As it has been removed and no longer has any effect
2018-02-07 14:42:06 +01:00
shkoder
1e7608d715 add JsonFraming usage example to the docs #24495 (#24498)
* add JsonFraming usage example to the docs #24495

* Update stream-io.md
2018-02-05 13:41:20 +01:00
Patrik Nordwall
fbfa8685aa
Merge pull request #24496 from akka/wip-small-docs-patriknw
small Typed doc improvements
2018-02-02 17:54:59 +01:00
Christopher Batey
eb1f2a675e Java DSL for typed persistent actors, #24193
* Basic working java api

* Most of the compile only spec in java

* Bits and bobs

* Abstract class for java dsl

* Move to using an abstract class for java dsl

* Wip, playing with not needed classes

* Docs ported to java and removal of the class objects

* java docs for recovery and tagging
2018-02-02 17:53:27 +01:00
Johan Andrén
06b36db458 Actor interaction patterns docs for typed (#24404)
* Request response and actor-to-actor-ask

* Outside of actor ask

* Review feedback plus simplification of tell sample

* ask and mention symbolic

* Final sample and some proof reading feedback adressed

* Tests should pass in InteractionPatternSpec

* Incorrect comment removed

* Made sure all scala samples execute, to protect from regression, added forward refereces in text

* Use context logger

* Some minor rewording

* Feedback applied

* Rebase fix

* expectMessageType
2018-02-02 17:49:03 +01:00
Patrik Nordwall
d8c9a9ca8c small Typed doc improvements 2018-02-02 17:18:31 +01:00
Johan Andrén
819bb09228 Document failure bubbling in Akka Typed, #22665
* also reworking the supervision thing a bit
2018-02-02 16:34:58 +01:00
Patrik Nordwall
070645767d
Merge pull request #24471 from akka/wip-23686-sharding-patriknw
Sharding API improvements
2018-02-02 15:11:00 +01:00
Christopher Batey
6c7839f937 Testkit docs use deprecated messages (#24472)
We also had a deprecated method without implementing
the alternative
2018-02-02 18:12:01 +09:00
Patrik Nordwall
ff05671422 separate scaladsl/javadsl and avoid overloaded spawn, #24470
* copy and amend scaladoc for ClusterSharding extension
2018-02-02 10:10:52 +01:00
Patrik Nordwall
23fa8b0810 change spelling of behaviour to behavior, #24457 2018-02-01 15:10:46 +01:00
Arnout Engelen
e33db45139
Add dependency snippets to relevant doc sections (#24418)
* Add dependency snippets to relevant doc sections

* Add 'Dependency' headings

Tried to consistently add them to each section introducing a module, after
the introduction but before the first code sample.

* Make Dependency sections more consistent
2018-01-31 17:19:19 +01:00
Martynas Mickevičius
cbe0215c41 Typed stream adapters, #23604
* Change more general factories to private
* Typed Streams docs
* Remove BoxedUnit from Java Api
* Use JavaPartialFunction in Java examples
* Doc wording improvements, formatting fixes, no verification diagrams
2018-01-31 15:33:48 +01:00
Patrik Nordwall
84b8f3ac29
Merge pull request #24407 from akka/wip-stashing2-patriknw
document and cleanup stashing, #22275
2018-01-31 15:08:00 +01:00
Arnout Engelen
fe5a42586c Scheduler that manually advances time (##24150)
* Don't apply dilation to scheduler parameter
* Clarify ExecutionContext usage
* Clarify comment on timePasses
* Make ExplicitlyTriggeredScheduler internals private
* List currently scheduled tasks in one log message
* Execute immediately if (initialDelay <= Duration.Zero)
* Don't reschedule if scheduled task fails
* Be more efficient about logging
* Widen `timePasses` delay for now
https://github.com/akka/akka/pull/24243#discussion_r160985493 for some
discussion on what to do instead
* Remove mechanism for mixing in config from a test trait
2018-01-31 14:48:05 +01:00
Patrik Nordwall
8b38789d9d document and cleanup stashing, #22275
* remove ImmutableStashBuffer
* minor doc edits
* java example
* some more tests, and some more scaladoc details
* rename head/tail to first/last
2018-01-31 14:05:18 +01:00
Viktor Klang (√)
08b0d34a4c Introduces eager cancellation for divertTo
* and updates Partition to support this behavior
* not adding Partition.apply overload due to type inference issues, use constructor instead
2018-01-30 19:59:53 +01:00
Konrad `ktoso` Malawski
c023d51367
=doc #24435 copy mutable maps before sharing them as messages in java (#24447)
* =doc #24435 copy mutable maps before sharing them as messages in java

* fix rename

* Update DeviceGroup.java

* Update DeviceGroup.java
2018-01-30 23:20:15 +09:00
Arnout Engelen
c05dd26700 Use getWhenTerminated in Java examples (#24428)
* Use getWhenTerminated in Java examples

Introduced in #24330

* Fix compilation error
2018-01-29 18:05:11 +09:00
Song Kun
0e2d001cce =doc Some improvements on overview of Akka modules (#24429) 2018-01-29 13:34:25 +09:00
Arnout Engelen
a0ef1f7272
Shorter heading for scalaFiddle example (#24416)
The long h4 header looked a bit strange in the index:
https://doc.akka.io/docs/akka/current/stream/index.html
2018-01-26 10:51:46 +01:00
Julien Broi
d47c703b6d Adding streams to the list of capabilities (#24417) 2018-01-26 00:40:45 +09:00
Song Kun
22b10dbef0 fix typo (#24415) 2018-01-25 13:58:08 +01:00
Sebastian Harko
4ed492d90f make NonBlockingBoundedMailbox the default example (#24401) 2018-01-25 20:27:50 +09:00
Christopher Batey
9836dbbad1
Document tiers api for akka typed (#24382)
This moves over the last of the content for the blog as well
as moves typed docs to their own folder

Closes #24166
Closes #24358
2018-01-23 15:36:49 +00:00
Konrad `ktoso` Malawski
49b59083e2
Add ApiMayChange warning in docs of StreamRefs (#24389)
* Add ApiMayChange warning in docs of StreamRefs

* Update stream-refs.md
2018-01-23 23:34:11 +09:00
Patrik Nordwall
37484476df
Merge pull request #24344 from akka/wip-23770-response2-patriknw
Message adapter, without risk of resource leak, #23770
2018-01-23 10:49:13 +01:00
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
Viktor Klang (√)
e999d03e8b The most common partition-case, as divertTo(Mat) #24388 2018-01-22 19:17:41 +01:00
Konrad Malawski
6264f8ea70 +str #24229 back to Future[] API for stream refs
nitpicks
2018-01-23 02:27:10 +09:00
Konrad Malawski
c5a2785c7c +str #24229 implement flattening of mat values, may block; SHOULD BE INTERNAL API
add java documentation

images
2018-01-23 02:27:10 +09:00