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

16 Akka Streams, part 2

This chapter covers

  • Processing elements efficiently
  • Connecting from a stream to a database, a gRPC service, or an actor
  • Dealing with exceptions
  • Adding elements to a running stream after it starts

A book dealing only with Akka Streams would be no smaller than this entire book. It’s an important topic, but it’s too extensive to cover fully here. In this chapter, you learn the basics and the cases you will encounter most often in practice.

Akka Streams has three layers:

  1. The Flow API—Creates simple linear flows that are taken from a source, transformed, and passed to a sink. A typical example is a source that reads Kafka, enriches the event by calling an external service, and publishes it back to Kafka with a sink.

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