Commit graph

69 commits

Author SHA1 Message Date
mikolak-net
00068e2d1d Extrapolate stage and expand redoc #23804 2018-03-27 10:39:25 +02:00
Daniel Kalman
86e44167f3 Added retry pattern #22276 (#23997) 2018-03-26 13:56:20 +02:00
Prada Souvanlasy
46c662965f fix #23618 : Support for persistence dynamic configuration at runtime (#23841) 2018-03-26 13:52:31 +02:00
Gergő Törcsvári
ea9b7c9971 [docs] added notes where the code was unclear for beginners (#24757)
* [docs] added notes where the code was unclear for beginners

* Update stream-graphs.md
2018-03-22 13:03:04 +09:00
Patrik Nordwall
11f2ef5784
Merge pull request #24508 from psliwa/patch-1-defer-method
Adding defer method to PersistentActor
2018-03-21 13:41:51 +01:00
Konrad `ktoso` Malawski
563c7fbcf0 Issue 24594: Integration with sbt-headers and initial header population 2018-03-13 15:45:55 +01:00
Arnout Engelen
ab701e98be Remove default parameters in doc journal (#24704)
* Remove default parameters in doc journal

Making sure the examples are explicit about them

* Don't rely on default parameters in docs

As those default parameters might not be present for all implementations

* remove unrelated changes from PR

* Update BehaviorTestKitSpec.scala
2018-03-13 13:26:35 +09:00
zodiake
1a63aa8637 Update PersistenceQueryDocSpec.scala (#24405) 2018-03-12 11:59:56 +01:00
Roman Filonenko
0ecadf7235 deduplicate logic for IODispatcher #24604 (#24619)
* deduplicate logic for IODispatcher #24604
 * introduce a resolveDispatcher helper in ActorAttributes
 * mention akka.stream.materializer.blocking-io-dispatcher instead of akka.stream.blocking-io-dispatcher in scaladocs
 * fix a flaky test
 * cosmetic changes in the touched files

* move resolveDispather helper to the Dispatcher companion object under a new name resolve

* filter out mima warning

* fix mima excludes after the 2.5.11 release

* address review comments
 * update stream-io.md with the correct dispatcher config key
 * mark ActorAttributes.Dispatcher#resolve as internal API
 * use the dispatche config key in ActorMaterializer

* add private[akka] to the resolve methods
2018-03-07 15:12:34 +01:00
Roman Filonenko
8fcf728b7a fix Trigger references in the stream cookbook example for digest #24317
* replace Trigger with Unit
 * cosmetic changes in docs.stream.cookbook tests
2018-03-03 08:52:02 +01:00
Konrad Malawski
4714f16dcf +str #18142 ask pattern integration for akka streams
progressed with cleanup, removing the same thread exec context is
weird... causes issues :-/ Need to debug more, could be that some race
also exists in mapAsync then :\

WIP

finish ask impl via watch stage

mima

consistency spec

fix paradox, and fix adding ask/watch to javadsl source

follow up review
2018-02-22 19:50:46 +09:00
Stefano Bonetti
3ea59b1e76 Adding preMaterialize operator for Source #23894 (#24497) 2018-02-21 15:06:01 +09:00
piotr.sliwa
2f6deace13 Adding defer method to PersistentActor 2018-02-20 23:30:56 +01:00
Johan Andrén
2b8b946bc7 A bit more generous timeouts in RateTransformationDocSpec #24559 (#24564) 2018-02-19 11:19:56 +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
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
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
23fa8b0810 change spelling of behaviour to behavior, #24457 2018-02-01 15:10:46 +01:00
Sebastian Harko
4ed492d90f make NonBlockingBoundedMailbox the default example (#24401) 2018-01-25 20:27:50 +09: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
Konrad `ktoso` Malawski
7c75abbf7e +str #24229 move SinkRef / SourceRef to akka.stream
+str #24229 remove protobuf changes, which do not need to be made in this PR

docs

moved things

config object

subscription timeout confifmed working, also, attributes

document attributes for sub timeout

tests for the source also failing when it should

additional demand test

implemented protection from materializing "in cycles"; would be nice in
types but that breaks the niceness of use of the types
SinkRef/SourceRef...

cleanup

no idle timeout built in, can use the Timeout stages

more docs

simplest change to prevent exposing SinkRef => SourceRef => SinkRef cycle

Things to decide:
 * is it ok to require using `getSource` / `getSink` as Java API, is there better naming?
 * where should the constructors go? I'd say just in regular javadsl/scaladsl `Source`/ `Sink` objects

move constructors to {javadsl,scaladsl}.{Source,Sink} companion objects

Remove now useless "canMaterialize" field

Separate stage (implementation) from ref (wrapped actor ref) to make it clearer what is serialized

Clarify that partner refs are not optional in on-the-wire interfaces

minor cleanup in SourceRefStage

Renamed the stages but questionable if that really helps ;)

cleanups, better docs

cleanup, fix docs compilation

fix mima

got rid of Futures in the materialized values of stream refs
2018-01-23 02:27:10 +09:00
Patrik Nordwall
e4dd3c24fc add maxRestarts to RestartWithBackoff #24129 2018-01-16 18:28:10 +01:00
Catalin Ursachi
2360de583d Add streams recipe for 'source from function' (#22074) (#24132) 2018-01-16 15:29:03 +01:00
Nafer Sanabria
804dc4b6ba add flag crdt constants (#24208)
* add flag crdt constants

* add scaladoc
2018-01-09 10:39:06 +01:00
Christopher Batey
009214ae07
Update copyright to 2018 (#24241) 2018-01-04 17:26:29 +00:00
Łukasz Drygała
0c0bf91661 rewrite FlatSpec tests using WordSpec #24186 2018-01-03 12:51:27 +01:00
Johannes Rudolph
f996731c42 =docs use stream compression in recipe (#23823)
* =docs use stream compression in recipe

* Also use Compression.gzip in scaladsl example
2017-12-05 16:46:54 +01:00
Patrik Nordwall
e49acb7daa add Reason to CoordinatedShutdown, #24048 2017-12-04 14:16:06 +01:00
Richard Imaoka
a7c384b945 Add stream-substream.md #23461 2017-11-28 09:03:13 +01:00
Arnout Engelen
26cd916d98 Make imports explicit in timer example (#24010) 2017-11-17 08:07:37 +00:00
Konrad `ktoso` Malawski
4d583d1e6c
+doc document lifecycle of ActorMaterializer explicitly (#23836)
* +doc #23835 document lifecycle of ActorMaterializer explicitly

* Update stream-flows-and-basics.md

* Update stream-flows-and-basics.md
2017-11-09 00:26:02 +09:00
Richard Imaoka
0988933fac Stream cookbook sample for adhoc source (#23761) 2017-11-01 15:24:05 +01:00
Johan Andrén
4b654d637f Don't use TestActorRef for async testing #23445 2017-10-11 15:29:02 +02:00
Arnout Engelen
b1df13d4d4 Update scalariform (#23778) (#23783) 2017-10-06 10:30:28 +02:00
Patrik Nordwall
f85a124a17 Merge pull request #23563 from nick-nachos/wip-21677-leveldbJournalCompaction
Added journal compaction behavior for LevelDB #21677
2017-09-28 12:34:18 +02:00
Konrad `ktoso` Malawski
40228e851d =doc #23421 move Kill docs around and fix snippet (#23429) 2017-09-27 15:32:01 +09:00
Nikos Nakas
341b74e7c1 Added journal compaction behavior for LevelDB #21677 2017-09-18 21:13:02 +00:00
Konrad `ktoso` Malawski
207b43a139 =doc #23487 add missing scala snippet in testing doc (#23488)
* =doc #23487 add missing scala snippet in testing doc

* Update TestkitDocSpec.scala

* me file

* Update testing.md
2017-09-11 16:50:04 +02:00
Patrik Nordwall
6ed3295acd Merge branch 'master' into wip-multi-dc-merge-master-patriknw 2017-08-31 10:51:12 +02:00
Patrik Nordwall
945ade245e Add PartitonHub, #21880
* FixedSizePartitionHub in Artery
* expose consumer queue size
2017-08-09 17:00:35 +02:00
Sébastien Lorion
a95a94acff Replace ClusterRouterGroup/Pool "use-role" with "use-role-set" #23496 2017-08-09 16:06:18 +02:00
Nafer Sanabria
ad1ffeda2b throw java.io.NotSerializableException during deserialization (#22821)
* throw java.io.NotSerializableException during deserialization

* formatting fix

* add annotation to all fromBinary methods

* remove annotation

* add annotation to remaining methods in Serialization.scala
2017-08-08 13:15:18 +02:00
Ryan Brideau
cce775380d Cleaned up the comments and fixed typo (#23418) 2017-07-26 18:15:42 +02:00
Johan Andrén
407131cb4e Stream supervision doc clarification #23376 2017-07-26 16:23:46 +02:00
Daniele Torelli
f23c1f3456 Docs: Improve TwitterStreamQuickstartDocSpec fiddle code (#23411)
* Hashtags should not contain any special character
* Leverage `Set[Hashtag]` to remove duplicates across different tweets
* Add clarifying comments
2017-07-26 09:56:29 +02:00
Oliver Lockwood
c0e90a0e70 Fix reference to Hitch-Hiker's Guide (#23410) 2017-07-24 07:34:29 -07:00