Commit graph

1184 commits

Author SHA1 Message Date
Patrik Nordwall
6d722cc313 doc: clarify exception from modify function in ddata (#28079) 2019-10-28 15:15:15 +01:00
Helena Edelson
a7fc6f824e Minor entityId sample code clarification in docs. 2019-10-25 16:00:58 -04:00
Thomas Braam
ab3f63899c Fixed small error in Akka Typed Getting Started Tutorial 5 (#28041) 2019-10-25 13:57:01 +02:00
Helena Edelson
e2e2f87933 Adding bullet point in doc. 2019-10-23 14:12:49 -04:00
Helena Edelson
75c9bd1805
Remoting docs config snippet should have provider = remote (#28042) 2019-10-23 13:37:49 -04:00
Thuillier Benjamin
87ba57d42e Docs: fix typo on Persistence instead of Persitence (#28026) 2019-10-22 13:56:37 -04:00
Patrik Nordwall
4e67055302
Merge pull request #28025 from helena/docs-cluster-cleanup
Cluster doc cleanup.
2019-10-21 17:34:47 +02:00
Helena Edelson
bec1a882c2 Add a page for Typed Distributed PubSub (#28012) 2019-10-19 20:26:27 +02:00
Lim Chee Hau
3fb6e77fd2 Add grouped example to akka-docs (#25468) (#28013) 2019-10-18 08:51:31 +02:00
Helena Edelson
060820b9cf Cluster doc cleanup. 2019-10-17 08:21:47 -04:00
Patrik Nordwall
b863646258
doc: Show how to fail future of external ask (#28017)
* doc: Show how to fail future of external ask

* illustrate that validation errors are also part of
  message protocol
* error messages can be turned into failed future

* add implementation of the CookieFabric
2019-10-17 11:36:41 +02:00
Patrik Nordwall
c13fa76ab5
Merge pull request #28014 from akka/wip-doc-migration-guide-patriknw
doc: adjustments of migration guide
2019-10-17 08:45:24 +02:00
Johan Andrén
74adecb4e7
Align lazy and future operators #26446 2019-10-16 17:02:12 +02:00
Patrik Nordwall
8dae09ae09 doc: adjustments of migration guide 2019-10-16 13:16:24 +02:00
Christopher Batey
4a72985e48 Expose new DNS protocol via the DNS extension (#28009)
* TCP/UDP to use new protocol
* Change other parts of Akka to use new protocol
* Mention in migration guide
2019-10-16 10:22:01 +02:00
Enno
70c3cdfa97
RetryFlow: retries of individual stream elements with backouff (#27742)
RetryFlow wraps a flow with context and allows to individually retry elements. A decider function decides if another try should be made and gives the element to try with.
Retries are backed off exponentially.
Retries are limited by maxRetries.

Inspired by the work of Gilad Hoch <gilad.hoch@thomsonreuters.com> and Martynas Mickevičius <self@2m.lt>
2019-10-15 18:41:30 +02:00
Patrik Nordwall
54856aecae
Merge pull request #28006 from akka/wip-link-quickstart-patriknw
remove FIXME for Quickstart link
2019-10-15 14:57:45 +02:00
Patrik Nordwall
affb361c52 doc: minor clarification of ActorRef.toTyped (#28005) 2019-10-15 14:14:10 +02:00
Patrik Nordwall
e6055b8d23 remove FIXME for Quickstart link
* https in urls
2019-10-15 13:21:00 +02:00
Matthew Smedberg
3e71b8a8b8 Provide cancellation for CoordinatedShutdown tasks #27335 2019-10-15 13:01:13 +02:00
Christopher Batey
b5eb18a033 Document using an EventSourcedBehavior as a PersistentFSM (#27931)
Re-uses the code from the migration guide as the mgiration logic
is in adapters.

Almost seems very obvious you can do this but can't hurt to have.

* Apply suggestions from code review

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-10-15 12:22:14 +02:00
Patrik Nordwall
46fcca5f39
Add API for multi-dc Sharding/Singleton in Typed, #27705 (#27974)
* add withDataCenter in Entity, following same patterna as the role
* update cluster-dc.md, split in classic and new pages
* fix bug in ClusterSharding shouldHostShard
  * contains on String
* update multi-dc singleton sample
2019-10-15 12:20:41 +02:00
Patrik Nordwall
5de5dec6ee
Merge pull request #27988 from akka/wip-protobuf-3.10.0-patriknw
Update protobuf-java and protoc to 3.10.0
2019-10-15 11:09:30 +02:00
Johan Andrén
3620017edf Tags from actor props goes into MDC, #27791 (#27856)
* Initialize logging things together. Save 2 fields in ActorContextAdapter (if logging isn't used)
* Dealt with bincomp by handcoding things in Deploy.
* Pass tags in remote deploy messages (serialization)
* Docs plus signature that works for Java API
* Allow tags to be empty or else we can't create an `.empty`
2019-10-14 17:57:11 +02:00
Patrik Nordwall
4e8a5d333b
More structured logger names, #27922 (#27934)
* some cluster logging improvements
* most logger names are actually good, when using ActorLogging since
  config can be setup on the package (prefix)
* override logSource when StageLogging is used
* replace system.log with more specific logger
2019-10-14 17:55:12 +02:00
Johan Andrén
6190f0bc58 Provide Scheduler implicitly from implicit typed actorsystem (#27986) 2019-10-14 16:33:06 +02:00
Patrik Nordwall
78281ba92f
doc: improvements to Distributed Data docs (#27971)
* doc: improvements to Distributed Data docs

* leftover

* java formatting
2019-10-14 14:03:04 +02:00
Scala Steward
63df007685 protoc version 3.10.0 2019-10-14 11:11:21 +02:00
Patrik Nordwall
fb1dc73da0
Merge pull request #27959 from akka/wip-doc-minor-singleton-patriknw
doc: minor improvements to cluster-singleton.md
2019-10-11 16:18:41 +02:00
Patrik Nordwall
f0e4ece497
Merge pull request #27958 from SageM/fix-wording-in-documentation
Fix wording
2019-10-11 09:31:02 +02:00
Christopher Batey
40bf6bf5d5 Rename LoggingEventFilter to LoggingTestKit (#27888) 2019-10-11 08:38:20 +02:00
Patrik Nordwall
c8570f277d doc: minor changes to sharding docs (#27967) 2019-10-10 23:27:08 -06:00
SageM
190ab3f0e7 Fix wording
Update akka-docs/src/main/paradox/stream/stream-parallelism.md

Co-Authored-By: Helena Edelson <helena@users.noreply.github.com>
2019-10-10 17:00:13 +02:00
Christopher Batey
8c70430d2f Document typed extensions (#27946) 2019-10-10 16:45:17 +02:00
Patrik Nordwall
34096e671d
Fail startup if mixed versions are used, #27965 (#27966)
* good to make it more strict in Akka 2.6.0
* possibility to opt out via config
* migration guide
  * clarification of why
  * don't mention opt-out in migration guide because it shouldn't be abused
2019-10-10 16:31:51 +02:00
Patrik Nordwall
e40a2591d3
Merge pull request #27811 from akka/wip-more-deprecation-2-patriknw
Deprecate JavaLogger (java.utl.logging)
2019-10-10 16:30:22 +02:00
Arnout Engelen
9db8fc6cb5 Avoid using mockito in akka-cluster-sharding (#27845) 2019-10-10 07:38:56 -06:00
Patrik Nordwall
ddaceae80d
rename PersistenceId.apply to PersistenceId.ofUniqueId, #27924 (#27953)
* to make the entityTypeHint, entityId the more prominent choice, and
  avoid that only the entityId is used as the uniqueId
2019-10-10 14:05:46 +02:00
Patrik Nordwall
b06ea5bdb0 doc: minor improvements to cluster-singleton.md
* proofreading
2019-10-10 07:41:22 +02:00
Enno
3fc148f6f2 Typed docs: some spelling and language fixes (#27919) 2019-10-09 19:43:03 +02:00
Patrik Nordwall
1b2f848103 Deprecate JavaLogger (java.utl.logging) 2019-10-09 17:18:45 +02:00
Christopher Batey
9a2fa8d2a9 Go back to taking a Behavior to typed pool routers, #27807 (#27942) 2019-10-09 17:07:24 +02:00
Patrik Nordwall
76e2730195 doc: clarify EventSourcedBehavior effects, #25953 2019-10-09 14:06:29 +02:00
Patrik Nordwall
c0d8df94e4
Merge pull request #27913 from akka/wip-persistence-toc-patriknw
doc: fix Persistence ToC
2019-10-09 12:55:57 +02:00
Patrik Nordwall
dfaee6f9a1
Make SingleConsumerMultiProducer the default mail box for typed (#27857)
* Merge benchmark projects

* Make SingleConsumerMultiProducer the default mail box for typed

* Make SingleConsumerMultiProducer the default mail box for typed

* Add default mailbox back to classic + define default mailbox for typed in reference

* Fix custom dispatcher
2019-10-09 11:17:50 +02:00
Patrik Nordwall
40ce73ad4e doc: small improvements of core cluster pages (#27939)
* proofreading of core cluster pages
* some more info in failure detector
2019-10-09 10:17:22 +01:00
Patrik Nordwall
86965d0a05
Merge pull request #27910 from akka/clusterClientMigrationTweaks
Some tweaks to the Cluster Client to gRPC migration notes
2019-10-09 10:47:32 +02:00
Patrik Nordwall
3d2acbd4cf doc: fix Persistence ToC
* index was inlined in persistence.md, and that doesn't work well
  because all headings from persistence.md are always visible to the left
  when browsing the other persistence pages
2019-10-09 10:46:05 +02:00
Patrik Nordwall
cd30c06ca7 doc: Add pipeToSelf in interaction-patterns.md, #27877 (#27912) 2019-10-08 15:07:55 +02:00
Patrik Nordwall
c89dfe5578 doc: minor cleanup of mailboxes.md (#27915)
* clarification of the dependency
* two sections about too advanced configuration, let's keep that in classic docs
2019-10-08 15:03:51 +02:00