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

14 Connecting to systems with Alpakka

This chapter covers

  • Reading from and writing to Kafka
  • Reading from and writing to CSV

Alpakka is a project that implements multiple connectors that allow you to interact with different technologies in a reactive streaming way according to the principles of the Reactive Streams project (www.reactive-streams.org). For example, you can read from a Kafka topic with an asynchronous stream with no blocking backpressure.

This chapter covers two of the most commonly used connectors, Kafka and CSV. The CSV Alpakka connector can be classified as finite streams because it ends after the file is read. The Kafka Alpakka connector, on the other hand, is an example of an infinite stream where there is an open connection ...

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