News & Articles

Full archive

March 18


How to co-locate Kafka Partitions with Akka Cluster Shards

In this 14 minute video we go through how to do distributed, stateful processing with Akka Cluster Sharding and Kafka. We demonstrate how to co-locate the consumption of Kafka partitions with the Akka Cluster Shards using the new External Shard Allocation strategy in Akka 2.6.

The demo uses this Akka sample and contains instructions for how to run everything locally.

To learn more see the documentation on the External Shard Allocation Strategy and the Alpakka extension for cluster sharding.

Also, read about Akka Enhancements and learn more from other Lightbend Videos and Webinars.