Commit graph

49 commits

Author SHA1 Message Date
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
James Roper
c60d20af32 Restart Flow/Source/Sink #19950 2017-07-20 15:02:34 +02:00
Arnout Engelen
aec87a94c4 Include imports in the GraphStage logging snippets (#23378) 2017-07-19 22:11:59 +09:00
Patrik Nordwall
87d74f1510 Docs for multi-DC features 2017-07-07 16:55:22 +02:00
Patrik Nordwall
df089ccde1 Merge pull request #22873 from akka/wip-15733-timers-patriknw
Support for Actor timers, and fix bug in FSM, #15733
2017-07-07 13:45:04 +02:00
Zahari Dichev
4d45064296 Add AffinityPool which pins actors to threads (#23104) 2017-07-07 13:36:26 +02:00
Patrik Nordwall
f8a1d635fa Support for Actor timers, and fix bug in FSM, #15733
* backport of the timers from Akka Typed, #16742
* also fixed a small bug in FSM timers, which could result in that
  a timer from a previous incarnation was let through to new
  incarnation after restart
* no more need for the complicated "how to" section in docs of
  how to schedule periodic messages
2017-07-06 14:29:35 +02:00
Yu Nishiyama (a.k.a Richard)
71175eaf54 Merge paradox/scala/mailboxes.md and java/mailboxes.md (#23191) 2017-07-06 04:34:33 -07:00
Patrik Nordwall
4d4fe1471b Merge pull request #22998 from richard-imaoka/doc-22803-blocking-imaoka
More description about blocking operations
2017-06-16 15:49:02 +02:00
Richard Imaoka
dfef449268 More description about blocking operations (Fixes #22803)
Improve wordings in actor-systems.md

Adding Java samples in actor-systems.md, and description for scala.concurrent.blocking() inside Future

Move the section for blocking operations to dispatchers.md

Fix minor issues in dispatchers.md

Remove note about scala.concurrent.blocking which would be unnecessary.

Correcting a typo "run run"
2017-06-16 21:46:02 +09:00
Richard Imaoka
af3b3d3732 Identical contents in scala/persistence-query.md and java/persistence-query.md 2017-06-16 20:44:04 +09:00
Richard Imaoka
6c1d82a4e6 Merge paradox/scala/cluster-metrics.md and java/cluster-metrics.md (#23098)
* Identical contents in scala/cluster-metrics.md and java/cluster-metrics.md for easier review

* Replace java/cluster-metrics.md with a symlink to scala/cluster-metrics.md

* Fix typo
2017-06-07 01:43:18 -07:00
Richard Imaoka
c569bdbc7c Merge akka-docs/paradox/scala/actors.md and java/actors.md (#23079)
* Identical contents in scala/actors.md and java/actors.md
* Replace java/actors.md with a symlink to scala/actors.md
2017-06-03 06:34:22 -07:00
Richard Imaoka
fb3e42f2e8 Merge paradox/scala/agents.md and java/agents.md (#23080) 2017-06-02 02:30:05 -07:00
Patrik Nordwall
aefd9a9186 fix race in fiddle example test, #23013 2017-05-23 14:15:44 +02:00
Patrik Nordwall
70d69c5fb2 Merge pull request #22999 from ktoso/wip-typed-to-master
Merge Akka Typed to master branch
2017-05-23 10:20:06 +02:00
andrea
833f3e8f32 addressing comments 2017-05-22 16:11:53 +02:00
andrea
8a6cebedef +doc Basic Fiddle interactive examples 2017-05-22 16:11:53 +02:00
Konrad `ktoso` Malawski
17baf49fc7 Merge branch 'master' into wip-typed-to-master 2017-05-22 13:32:59 +02:00
Patrik Nordwall
59f53e1a22 move code to src/test
* so that it compiles and tests pass
* fix some additional snip references in getting started
2017-05-11 17:36:45 +02:00