Commit graph

1631 commits

Author SHA1 Message Date
Patrick Altaie
99f21dba3a
Add "akka" prefix to TCK code sample (#29529)
The current code sample for trying out the TCK misses the "akka" prefix
which means that the TCK test will fail with an error regarding not
specifying a journal plugin (because the journal plugin property is
wrong in the sample)

Fixes #29528
2020-09-01 09:42:25 +02:00
Josep Prat
1180b8364e
Use the correct name for Akka HTTP (#29527)
Fixes the typo in the name of Akka HTTP, it's written in lower case but the project name is in upper case.
2020-08-26 12:03:01 +02:00
Ignasi Marimon-Clos
418d6d3ec0
Prefer "update" over "upgrade" when rolling (#29523) 2020-08-25 11:11:06 +02:00
Ignasi Marimon-Clos
728dda874e
Event migration improvements (#29514) 2020-08-25 11:10:33 +02:00
Christopher Batey
2d9660f847 Final review feedback 2020-08-25 10:02:27 +01:00
Enno
d9c610eceb
docs: render depenency on Futures page correctly (#29513) 2020-08-24 11:45:27 +02:00
Patrik Nordwall
efe02935cd
doc: rolling update from 2.5.x to 2.6.2 (#29501) 2020-08-18 15:16:44 +02:00
Christopher Batey
eae102acb1 Make ShardingDirectReplication private (#29492)
* Make ShardingDirectReplication private

And provider user API to provide ReplicaId so that local messages don't
need to be forwarded to sharding to just be dropped

* Update docs to say direct replication is on my default

* Doh
2020-08-17 07:54:34 +01:00
Christopher Batey
260276fd90 Turn on direct replication by default (#29493) 2020-08-17 07:54:34 +01:00
Christopher Batey
849018b81e Replicated Sharding improvements (#29483)
* WIP

* Finishing touches to sharding updates

* Review feedback
2020-08-17 07:54:34 +01:00
Patrik Nordwall
779e827495 Counter example, shopping cart 2020-08-17 07:54:34 +01:00
Patrik Nordwall
2e0821c2f0 ORSet example, MovieWatchList 2020-08-17 07:54:33 +01:00
Patrik Nordwall
d078a6b65f LwwTime example
* show event and command handlers of the blog example in docs
* add blog example for Java
2020-08-17 07:54:33 +01:00
Patrik Nordwall
ac469e1a56 Polish Auction example
* adjust the style in the Scala example
  * AuctionEntity class instead of Setup class that is passed around
* add timer in recovery completed
2020-08-17 07:54:33 +01:00
Patrik Nordwall
fb5f5dc145 a few more things when reviewing replicated event sourcing (#29461) 2020-08-17 07:54:33 +01:00
Christopher Batey
f41f093372 Rename replicated settings (#29460) 2020-08-17 07:54:33 +01:00
Christopher Batey
67eb74f076 Embed akka serialization inside jackson serialization (#29455)
* Embed akka serialization inside jackson serialization

Allows re-use of existing serializers when embedding the types in
Jackson

* Fix false dead code warning

* Move marker trait and add docs

* Remove module and document adding annotations

* Review feedback
2020-08-17 07:54:33 +01:00
Patrik Nordwall
7348939ff4 DRY ReplicatedEventSourcedBehavior.apply (#29454)
* and change signature of withEventPublishing and withDirectReplication
2020-08-17 07:54:33 +01:00
Patrik Nordwall
cd821fe3f8 Minor adjustments to replicated es docs (#29450)
* Minor adjustments to replicated es docs

* and a few aa leftovers

* link to more examples
2020-08-17 07:54:33 +01:00
Johan Andrén
9fb76bbea4 Tagging for replicated event sourcing (#29442)
* Tagging for replicated event sourcing
* Docs improvements
* Support for currentEventsByTag in persistence testkit and test coverage for tags in replicated
2020-08-17 07:54:33 +01:00
Christopher Batey
c945fbd7a1 Java auction example (#29443) 2020-08-17 07:37:59 +01:00
Johan Andrén
4b27bc34a8 Document hot standby for replicated event sourcing (#29439) 2020-08-17 07:37:59 +01:00
Johan Andrén
b03412d5b2 Rename active active to replicated event sourcing (#29435)
* Move active active internals into the internal package

* Renaming active active to Replicated Event Sourcing

* Rename of Active Active to Replicated Event Sourcing

* Revert changes to testkit

* Java test formatting...

* Gave up on getting apidoc to link to EventSourcedBehavior and made code snippets of it

Co-authored-by: Christopher Batey <christopher.batey@gmail.com>
2020-08-17 07:37:59 +01:00
Johan Andrén
b8a1584e10 Active active journal support changes (#29421)
* Add missing serializers (and rename classes because metadata is a word)
* Add test instances for journal and snapshot support
* Method to add metadata to existing snapshotmetadata
* Better error message if replicated stream does not have metadata
* Snapshot store tck support for metadata
* Docs for tck coverage of AA metadata
2020-08-17 07:37:58 +01:00
Johan Andrén
f63ca66e56 Active active docs mention plugin support (#29418)
* Mention specific support for active active is needed in plugins
* Align metadata name journal vs snapshot
2020-08-17 07:37:58 +01:00
Johan Andrén
827dc14dbb EventPublishing API for Java (#29413) 2020-08-17 07:37:58 +01:00
Johan Andrén
a563a9b69e Make sure to gracefully stop replication streams when aa actor stops #29406 2020-08-17 07:37:58 +01:00
Johan Andrén
9830988566 Active active sharding (#29364) 2020-08-17 07:37:58 +01:00
Christopher Batey
f531d1e57d Docs and example for triggers (#29396) 2020-08-17 07:37:58 +01:00
Johan Andrén
21713bbc30 Active active java apis #29266 2020-08-17 07:37:58 +01:00
Christopher Batey
7e91428428 Metadata for snapshots for active active (#29362) 2020-08-17 07:37:58 +01:00
Christopher Batey
2c0e837183 Initial docs for active active (#29386) 2020-08-17 07:37:58 +01:00
Patrik Nordwall
249af61ede
Merge pull request #29382 from JoelWee/25468-docs-merge-preferred-prioritized
Add mergePreferred, mergePrioritized docs (#25468)
2020-08-10 09:00:09 +02:00
Enno Runne
52c005baec docs: redirect to deploying from old URL
refs https://github.com/akka/akka-management/pull/732
2020-08-07 10:56:58 +02:00
Enno
531553ca27
docs: add newish modules in listing (#29446) 2020-08-04 14:01:58 +02:00
Arnout Engelen
327e16980d
Make warnings in Java code fatal (#28402) 2020-08-04 13:47:38 +02:00
Johan Andrén
c5124a00b4
Clarify pool router routees are always local (#29419)
* Clarify pool router routees are always local

* Update routers.md
2020-07-30 10:04:30 +01:00
Hugh McKee
9cb9d3d44f
fix typo (#29412) 2020-07-22 08:54:21 +02:00
Ignasi Marimon-Clos
a51a85c8ad
typo (#29403) 2020-07-21 10:17:05 +02:00
Łukasz Drygała
1290befec8
Update actor-lifecycle.md (#29391) 2020-07-16 13:41:18 +02:00
Joel Wee
54efafd07d Add mergePreferred, mergePrioritized docs (#25468) 2020-07-14 18:03:18 +08:00
davidlzs
9739e6f44d
Replace reference to deprecated API (#29381)
Updated stream-composition.md to use Flow.fromSinkAndSourceCoupledMat or Flow.fromSinkAndSourceCoupled rather than the deprecated CoupledTerminationFlow.fromSinkAndSource.
2020-07-14 08:48:33 +02:00
Ignasi Marimon-Clos
68fa87c58c
Merge pull request #29356 from ignasi35/monitor-operator-sample-code 2020-07-13 19:33:36 +02:00
Ignasi Marimon-Clos
6ca92cc543 javafmt 2020-07-13 14:04:28 +02:00
Ignasi Marimon-Clos
6c12ae117a PR comments 2020-07-13 10:46:16 +02:00
James Roper
558160702b
Added MergeSequence graph stage (#29247)
Fixes #28769

Use case for this is if you have a sequence of elements that has been
partitioned across multiple streams, and you want to merge them back
together in order. It will typically be used in combination with
`zipWithIndex` to define the index for the sequence, followed by a
`Partition`, followed by the processing of different substreams with
different flows (each flow emitting exactly one output for each input),
and then merging with this stage, using the index from `zipWithIndex`.

A more concrete use case is if you're consuming messages from a message
broker, and you have a flow that you wish to apply to some messages, but
not others, you can partition the message stream according to which
should be processed by the flow and which should bypass it, and then
bring the elements back together acknowledgement. If an ordinary merge
was used rather than this, the messages that bypass the processing flow
would likely overtake the messages going through the processing flow,
and the result would be out of order offset acknowledgement which would
lead to dropping messages on failure.

I've included a minimal version of the above example in the documentation.
2020-07-09 11:52:46 -04:00
Johan Andrén
996f424835
Ok/error protocol and failable ask #29186 (#29190)
New type StatusReply simplifies the very common use case of replying to a request with either a successful reply or an error reply which can be repetitive to define for every actor, with the additional overhead of having to make sure each such sealed top type + 2 concrete reply classes has working serialization.
2020-07-09 16:57:53 +02:00
Sebastian Alfers
ec08c9dde4
Fix SBR lease-implementation config example (#29361) 2020-07-09 09:48:28 +02:00
Ignasi Marimon-Clos
f187abddd1 Prefer monitoring from a separate stream (without blocking calls) 2020-07-07 17:08:11 +02:00
Ignasi Marimon-Clos
2b71abe78e Show less code. More informative comments (still hides blocking calls 2020-07-07 15:27:25 +02:00