Skip to Content
Akka in Action, Second Edition
book

Akka in Action, Second Edition

by Raymond Roestenburg, Rob Williams, Francisco Lopez Sancho, Robertus Bakker
August 2023
Intermediate to advanced content levelIntermediate to advanced
400 pages
11h 7m
English
Manning Publications
Content preview from Akka in Action, Second Edition

10 Streams, persistence queries, and projections

This chapter covers

  • Creating a simple stream from its basic components: source, flow, and sink
  • Reading events from the journal of the persistence entities
  • Writing events from the journal into another table

In this chapter, you learn how to read from the journal and create views from it. To do this, Akka uses Akka Streams explicitly to read the journal—with the persistence-query module—and implicitly to create views—with the projections module.

NOTE The source code for this chapter is available at www.manning.com/books/akka-in-action-second-edition or https://github.com/franciscolopezsancho/akka-topics/tree/main/chapter10a. You can find the contents of any snippet or listing in the .scala file ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Akka in Action

Akka in Action

Rob Williams, Raymond Roestenburg, Robertus Bakker
Akka in Action, Second Edition, Video Edition

Akka in Action, Second Edition, Video Edition

Robertus Bakker, Rob Williams, Raymond Roestenburg, Francisco Lopez-Sancho
Functional Programming in Scala, Second Edition

Functional Programming in Scala, Second Edition

Paul Chiusano, Runar Bjarnason, Michael Pilquist

Publisher Resources

ISBN: 9781617299216Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link