From a57742f31bbe479f6573c6a4f58d7a1d3aedeb0f Mon Sep 17 00:00:00 2001 From: Enno Runne <458526+ennru@users.noreply.github.com> Date: Mon, 9 Nov 2020 11:36:39 +0100 Subject: [PATCH] Docs: link to videos (#29799) --- akka-docs/src/main/paradox/typed/cluster-sharding.md | 3 ++- akka-docs/src/main/paradox/typed/replicated-eventsourcing.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/akka-docs/src/main/paradox/typed/cluster-sharding.md b/akka-docs/src/main/paradox/typed/cluster-sharding.md index 6bb60e6565..f5c3cd0658 100644 --- a/akka-docs/src/main/paradox/typed/cluster-sharding.md +++ b/akka-docs/src/main/paradox/typed/cluster-sharding.md @@ -196,7 +196,8 @@ in one rebalance round. The lower result of `rebalance-relative-limit` and `reba An alternative allocation strategy is the @apidoc[ExternalShardAllocationStrategy] which allows explicit control over where shards are allocated via the @apidoc[ExternalShardAllocation] extension. -This can be used, for example, to match up Kafka Partition consumption with shard locations. + +This can be used, for example, to match up Kafka Partition consumption with shard locations. The video [How to co-locate Kafka Partitions with Akka Cluster Shards](https://akka.io/blog/news/2020/03/18/akka-sharding-kafka-video) explains a setup for it. Alpakka Kafka provides [an extension for Akka Cluster Sharding](https://doc.akka.io/docs/alpakka-kafka/current/cluster-sharding.html). To use it set it as the allocation strategy on your `Entity`: diff --git a/akka-docs/src/main/paradox/typed/replicated-eventsourcing.md b/akka-docs/src/main/paradox/typed/replicated-eventsourcing.md index f952057c62..3a3e7bd1e3 100644 --- a/akka-docs/src/main/paradox/typed/replicated-eventsourcing.md +++ b/akka-docs/src/main/paradox/typed/replicated-eventsourcing.md @@ -38,7 +38,7 @@ to handle this. To be able to use Replicated Event Sourcing the journal and snapshot store used is required to have specific support for the metadata that the replication needs (see @ref[Journal Support](#journal-support)). The [Replicated Event Sourcing video](https://akka.io/blog/news/2020/09/09/replicated-event-sourcing-video) -is a good starting point describing the use cases and motivation for when to use Replicated Event Sourcing. +is a good starting point describing the use cases and motivation for when to use Replicated Event Sourcing. The second part, [Replicated Event Sourcing data modelling](https://akka.io/blog/news/2020/10/22/replicated-event-sourcing-data-modelling) guides you to find a suitable model for your use-case. ## Relaxing the single-writer principle for availability