Commit graph

22598 commits

Author SHA1 Message Date
Christopher Batey
23b9266fca
Provide minSequenceNr for snapshot deletion (#25590)
* Provide minSequenceNr for snapshot deletion

Journals can use this to make the bulk deletion more efficient

Use keepNrBatches to delete the last few snapshots in case previous
deletes failed.
2018-09-25 13:38:18 +01:00
Christopher Batey
d7c463e033
Only treat nameservers as a StringList in config if getting as String… (#25636)
* Only treat nameservers as a StringList in config if getting as String fails
2018-09-25 13:36:01 +01:00
Tzu-Chiao Yeh
f06595dd5d Add and reuse example for FileIO stream operator. (#25660) 2018-09-24 17:50:27 +02:00
Johan Andrén
83b30f1ed2
Merge pull request #25653 from chbatey/supervision-interceptor
Supervision with a BehaviorInterceptor
2018-09-24 09:44:36 +02:00
Patrik Nordwall
0478d242e1
AccountExample in javadsl, #25485 (#25505) 2018-09-21 15:37:13 +02:00
Johan Andrén
16438fcb86 Deduplicate is specific to interception so belongs where it is #25599 (#25665) 2018-09-21 15:28:03 +02:00
Johan Andrén
8c058678ca Disallow nested mixed widen usages, #25604 2018-09-21 15:24:01 +02:00
Christopher Batey
63e00634d4 Warning for truncated DNS messages (#25666)
* Log warning if DNS response truncated
* Docs msg
2018-09-21 15:19:37 +02:00
Patrik Nordwall
546f1634c9
Merge pull request #25610 from akka/wip-24463-EntityRef.ask-patriknw
Introduce RecipientRef interface for ActorRef and EntityRef, #24463
2018-09-21 15:16:18 +02:00
Patrik Nordwall
824e4196e7 Introduce RecipientRef interface for ActorRef and EntityRef, #24463
* to make it possible to use ActorContext.ask also with EntityRef
  destinations
* this abstraction will probably be useful for other things, where a
  full ActorRef is not required
* a RecipientRef only has to support tell (and ask), while a full ActorRef
  is watchable (destination has a lifecycle) and location transparent (serializable)
2018-09-21 14:39:18 +02:00
Patrik Nordwall
6d8d646fe5
Merge pull request #25539 from akka/wip-25480-sharding-start-patriknw
Simplify signature of ClusterSharding.spawn, #25480
2018-09-21 14:21:33 +02:00
Johan Andrén
a8cfe1e0ff
Merge pull request #25654 from johanandren/wip-25620-remove-typed-persistence-ctx-param-johanandren
Remove the ActorContext parameter from the scaladsl command handler
2018-09-21 13:51:09 +02:00
Johan Andrén
10fc413238 Some usages of the removed signatures 2018-09-21 10:34:41 +02:00
Christopher Batey
5ad6f2c568 Review: Don't double log exception 2018-09-20 16:37:26 +01:00
Christopher Batey
a7d778ad50 Review feedback 2018-09-20 15:44:12 +01:00
Johan Andrén
f8d182574a Remove CommandHandler.byState #25655 2018-09-20 16:15:55 +02:00
Johan Andrén
5d129a804b Docs sample of accessing context from persistent behavior 2018-09-20 15:45:16 +02:00
Johan Andrén
68c4e14dbd Command context no longer needed 2018-09-20 15:03:12 +02:00
Johan Andrén
df697175b6 ActorContext removed from more signatures #25620 2018-09-20 14:59:41 +02:00
Christopher Batey
58330ad03e Private all the things 2018-09-20 12:50:34 +01:00
Johan Andrén
ad1eca9876 Remove the ActorContext parameter from the scaladsl command handler #25620 2018-09-20 13:48:13 +02:00
Christopher Batey
79c6320bfc Dropped messages when backing off 2018-09-20 11:51:31 +01:00
Christopher Batey
6a8092480e Remove old restarters 2018-09-20 11:29:09 +01:00
Patrik Nordwall
0804daf1a5 Simplify signature of ClusterSharding.spawn, #25480 2018-09-20 11:11:33 +02:00
Patrik Nordwall
2a5f254f16
Merge pull request #25225 from akka/wip-24478-passivate-patriknw
WIP: Passivate for Typed Sharding, #24478
2018-09-20 11:05:15 +02:00
Patrik Nordwall
0f56a6d1ed Passivate for Typed Sharding, #24478
* also moved singleton doc sample to own file
* and mv /doc/ to /docs/ as in other places
2018-09-20 11:04:32 +02:00
Christopher Batey
ea454a733d Reset timeout for fixed restarts 2018-09-20 08:36:01 +01:00
Christopher Batey
85a4597e4a wip 2018-09-20 08:36:01 +01:00
Konrad `ktoso` Malawski
bf3c11464e
add usage examples for conflate / conflate with seed (#25498)
* +doc conflate and conflateWithSeed docs examples

* fixes

* show throttle in the example so its more obvious that "slow upstream" etc
2018-09-20 16:22:11 +09:00
Johan Andrén
4206e16954
Merge pull request #25565 from johanandren/wip-down-removal-margin-take-two-johanandren
Undeprecate the config, add a note in cluster singleton
2018-09-20 09:03:34 +02:00
Konrad `ktoso` Malawski
1d709ac718
=doc #24283 include rationale for Sink Source not extending RS (#24286)
* Document reasons why Akka Streams are not IS-A with RS interfaces

* amended
2018-09-20 13:27:14 +09:00
Konrad `ktoso` Malawski
d0d54212dd
add TODOs to encourage contributing operator examples (#25478) 2018-09-20 13:01:24 +09:00
Johan Andrén
cc0705483b Clarify that there should normally be only one ActorSystem (#25641) 2018-09-19 13:25:14 +02:00
Patrik Nordwall
63ceb52bbd Use supervision in all places of Source.fromIterator, #25574 (#25601)
* it was noticed in Source.fromIterator depending on where the
  iterator throwed exception
* fromIterator, as many other things, is implemented with
  statefulMapConcat
* supervision was only used for exceptions in onPush and not
  in onPull, added it there also
2018-09-19 18:06:24 +09:00
Justin Pihony
e73bc64ade Add deprecation documentation to bin-compat docs (#25400)
* Add deprecation documentation to bin-compat docs

Closes #25399

* Be more flexible and change version type
2018-09-19 16:12:02 +09:00
Patrik Nordwall
c9ea0309c9
Merge pull request #25563 from akka/wip-manifest-version-patriknw
Utility to check that same version of all modules is used
2018-09-18 19:50:35 +02:00
Patrik Nordwall
82bcbb68d2
Merge pull request #25572 from akka/wip-25481-EntityRef-scheduler-patriknw
Remove Scheduler param in EntityRef.ask, #25481
2018-09-18 19:48:59 +02:00
Patrik Nordwall
311959ed04
Merge pull request #25633 from akka/wip-more-intercept-test-patriknw
Some more BehaviorIntercept tests
2018-09-18 19:47:24 +02:00
Patrik Nordwall
af2d15a188 Some more BehaviorIntercept tests
* filter messages
* show how it can be used to implement PoisonPill
2018-09-18 17:13:09 +02:00
Patrik Nordwall
e20b0287fd Utility to check that same version of all modules is used
* Stolen from Cinnamon
* Can be used from outside of Akka, e.g. Akka HTTP or Lagom
2018-09-18 13:50:39 +02:00
Patrik Nordwall
e62240b4b3
Merge pull request #25638 from jrudolph/fix-docs
Docs: don't use $code$ for now in doc snippets
2018-09-18 13:01:36 +02:00
Johannes Rudolph
a84a18d262
Docs: don't use $code$ for now in doc snippets 2018-09-18 12:48:03 +02:00
Patrik Nordwall
83c7894514
Merge pull request #25586 from akka/wip-24598-testkit-patriknw
ActorTestKit overhaul, #24598
2018-09-18 11:23:15 +02:00
Richard S. Imaoka
5dd487311d Add more description about ClusterEvent.InitialStateAsSnapshot (Closes #25172) 2018-09-18 14:56:26 +09:00
Christopher Batey
1d0603dab9 make scalatest suite type agnostic 2018-09-17 17:54:54 +02:00
Patrik Nordwall
b16e4d5e4d ActorTestKit overhaul, #24598
* composition is the basic building block for ActorTestKit
* ActorTestKitWordSpec for integration with ScalaTest
  (automatic shutdown)

* Use ActorTestKitWordSpec in our own tests

* doc TestException
2018-09-17 17:00:15 +02:00
kerr
ffc08d0b7a update to sbt 1.2.3 (#25626) 2018-09-17 11:19:48 +01:00
Christopher Batey
8ba4de386f
Document async and inetaddress DNS (#25414)
* Document async and inetaddress DNS

Closes #25307
2018-09-17 08:11:34 +01:00
Patrik Nordwall
c132a81f0a
Merge pull request #25152 from gabfssilva/master
Add method foreachAsync to Sink object
2018-09-14 17:50:57 +02:00
Gabriel
a679f6f59e Add method foreachAsync to Sink object 2018-09-14 11:42:29 -03:00