SlideShare a Scribd company logo
Presented By:
Muskan Gupta(Intern)
Alpakka : Integrating Akka
Streams with different
technology
Lack of etiquette and manners is a huge turn off.
Remote KnolX Etiquettes
Punctuality
Respect Knolx session timings, you
are requested not to join sessions
after a 5 minutes threshold post
the session start time.
Feedback
Make sure to submit a constructive
feedback for all sessions as it is
very helpful for the presenter.
Turn off your microphone.
Keep your windows on mute.
Our Agenda
● Introduction to Reactive Streams
● Introduction to Akka Streams
● What is Alpakka
● Need for Alpakka
● Kafka to ES and Cassandra
● Demo
Brief About Reactive Streams
Reactive Streams is an initiative to
provide a standard for
asynchronous stream processing
with non-blocking back pressure.
T
● Asynchronous Stream
Processing
● Non-blocking Back-pressured
. ● Stream is basically a sequence of data
that can be infinite.
● Processing a stream is termed as
Stream Processing.
● Asynchronous means that publisher
and consumer are not synced with
each other with a clock.
● Asynchronous processing is required to
enable parallel use of computer
resources.
Asynchronous
Stream
Processing
A way for consumers of data to notify the producers
about their current availability
Back Pressure
Need for Reactive Streams
. ● Handling Streams of data-specially live data whose size is not predetermined.-requires special
care in an asynchronous system.
● To govern the exchange of stream data across an asynchronous boundary - like passing elements
on to another thread or thread-pool.
● The most prominent issue is resource consumption needs to be controlled such that a fast data
source does not overwhelm the stream destination i.e maintaining the back-pressure.
Introduction to Akka-Streams
● Entry point to your
stream.
● Sources receive
demand from
downstream.
● Can receive data from
file, database,
collection etc.
.
Akka Stream is a module built on top of Akka actors to make the ingestion and processing of data easy.
It implement an asynchronous, non-blocking and back-pressured protocol.
● The flow is a
processing step within
the stream.
● It combines one
incoming channel and
one outgoing channel
as well as some
transformation of the
messages passing
through it.
● Exit point of your
stream.
● Sink send
demand to the
source.
● Can write data to
a file, database,
collection etc.
What is Alpakka?
.
Alpakka is an open source project, that is built on
top of Akka-Streams.
It provide a DSL for reactive and stream-oriented
programming.
You can use Java and Scala as well.
It has built-in support for backpressure to handle
the flow of data.
Alpakka provides us a number of connectors to
integrate akka-streams with different
technologies.
Insert Your Subtitle Here
Need of Alpakka
● Akka-Streams does not provide built-in Sources/Sinks/Flows to connect
with different end points.
● If you want to connect external data stores/queue in Akka-Streams you
will have to do coding for that yourself and it would be much more
complex.
● Alpakka comes to rescue in that situation.
Different Connectors in Alpakka
Alpakka Kafka
The Alpakka Kafka connector was originally known as Reactive Kafka or even as
Akka-Streams Kafka.
It let’s you connect Apache Kafka with Akka Streams.
Dependency
libraryDependencies += "com.typesafe.akka" %% "akka-stream-kafka" % "2.0.3"
Alpakka:Intergating Akka-Streams with different technology
Alpakka Cassandra
The Alpakka Cassandra provides a connector to connect Cassandra with Akka-Streams.
Dependency
libraryDependencies += "com.lightbend.akka" %% "akka-stream-alpakka-cassandra" %
"2.0.0"
Alpakka Elasticsearch
This is an implementation of Akka-Streams with Elasticsearch. It basically provides us connectors
to connect elasticsearch with akka-streams.
Dependency
libraryDependencies += "com.lightbend.akka" %% "akka-stream-alpakka-elasticsearch" % "2.0.0"
DEMO
References
https://doc.akka.io/docs/alpakka/current/overview.html#versions
https://www.oreilly.com/content/transforming-enterprise-integration-with-
reactive-streams/
https://www.lightbend.com/alpakka
Thank You !
Get in touch with us:
Lorem Studio, Lord Building
D4456, LA, USA

More Related Content

PDF
Akka HTTP with Scala
Knoldus Inc.
 
PDF
Building REST API using Akka HTTP with Scala
Knoldus Inc.
 
PPTX
Alpakka - Connecting Kafka and ElasticSearch to Akka Streams
Knoldus Inc.
 
PDF
Akka Streams
Diego Pacheco
 
PDF
Stream Patterns
Diego Pacheco
 
PDF
DataConf.TW2018: Develop Kafka Streams Application on Your Laptop
Yu-Jhe Li
 
PDF
Putting the Spark into Functional Fashion Tech Analystics
Gareth Rogers
 
PDF
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
Garindra Prahandono
 
Akka HTTP with Scala
Knoldus Inc.
 
Building REST API using Akka HTTP with Scala
Knoldus Inc.
 
Alpakka - Connecting Kafka and ElasticSearch to Akka Streams
Knoldus Inc.
 
Akka Streams
Diego Pacheco
 
Stream Patterns
Diego Pacheco
 
DataConf.TW2018: Develop Kafka Streams Application on Your Laptop
Yu-Jhe Li
 
Putting the Spark into Functional Fashion Tech Analystics
Gareth Rogers
 
Laskar: High-Velocity GraphQL & Lambda-based Software Development Model
Garindra Prahandono
 

What's hot (20)

PDF
Understanding time in structured streaming
datamantra
 
PPTX
Apache Apex Kafka Input Operator
Apache Apex
 
PDF
Building distributed processing system from scratch - Part 2
datamantra
 
PPTX
Kafka Practices @ Uber - Seattle Apache Kafka meetup
Mingmin Chen
 
PDF
Putting the Spark into Functional Fashion Tech Analystics
Gareth Rogers
 
PPTX
ADSL ppt
Sathish Kumar D M
 
PPTX
The good, the bad, the ugly side of step functions
Mohsiur Rahman
 
PPTX
Autonomous workload rebalancing in kafka
Indrajeet Kumar
 
PPTX
Stream data from Apache Kafka for processing with Apache Apex
Apache Apex
 
PPTX
Apache Apex connector with Kafka 0.9 consumer API
Apache Apex
 
PDF
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
LINE Corporation
 
PDF
OSMC 2010 | Monitoring mit Icinga by Icinga Team
NETWAYS
 
PDF
Hadoop summit - Scaling Uber’s Real-Time Infra for Trillion Events per Day
Ankur Bansal
 
PPTX
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex
 
PPTX
Kafka Retry and DLQ
George Teo
 
PDF
Improving Mobile Payments With Real time Spark
datamantra
 
PDF
Clovaを支える技術 機械学習配信基盤のご紹介
LINE Corporation
 
PDF
A Tool For Big Data Analysis using Apache Spark
datamantra
 
PPTX
Apache Kafka : Monitoring vs Alerting
Ratish Ravindran
 
PDF
Kafka used at scale to deliver real-time notifications
Sérgio Nunes
 
Understanding time in structured streaming
datamantra
 
Apache Apex Kafka Input Operator
Apache Apex
 
Building distributed processing system from scratch - Part 2
datamantra
 
Kafka Practices @ Uber - Seattle Apache Kafka meetup
Mingmin Chen
 
Putting the Spark into Functional Fashion Tech Analystics
Gareth Rogers
 
The good, the bad, the ugly side of step functions
Mohsiur Rahman
 
Autonomous workload rebalancing in kafka
Indrajeet Kumar
 
Stream data from Apache Kafka for processing with Apache Apex
Apache Apex
 
Apache Apex connector with Kafka 0.9 consumer API
Apache Apex
 
Building a company-wide data pipeline on Apache Kafka - engineering for 150 b...
LINE Corporation
 
OSMC 2010 | Monitoring mit Icinga by Icinga Team
NETWAYS
 
Hadoop summit - Scaling Uber’s Real-Time Infra for Trillion Events per Day
Ankur Bansal
 
Apache Apex Fault Tolerance and Processing Semantics
Apache Apex
 
Kafka Retry and DLQ
George Teo
 
Improving Mobile Payments With Real time Spark
datamantra
 
Clovaを支える技術 機械学習配信基盤のご紹介
LINE Corporation
 
A Tool For Big Data Analysis using Apache Spark
datamantra
 
Apache Kafka : Monitoring vs Alerting
Ratish Ravindran
 
Kafka used at scale to deliver real-time notifications
Sérgio Nunes
 
Ad

Similar to Alpakka:Intergating Akka-Streams with different technology (20)

PDF
Always on. 2018-10 Reactive Summit
Enno Runne
 
PDF
Let the alpakka pull your stream
Enno Runne
 
PDF
Build Real-Time Streaming ETL Pipelines With Akka Streams, Alpakka And Apache...
Lightbend
 
PDF
Webinar Alpakka 2018-08-16
Enno Runne
 
PDF
Pakk Your Alpakka: Reactive Streams Integrations For AWS, Azure, & Google Cloud
Lightbend
 
PDF
Scala usergroup stockholm - reactive integrations with akka streams
Johan Andrén
 
PDF
Reactive Integration with Akka Streams and Alpakka
SoftwareMill
 
PDF
Introduction to Akka Streams
Knoldus Inc.
 
PDF
Exploring Reactive Integrations With Akka Streams, Alpakka And Apache Kafka
Lightbend
 
PDF
Streaming Design Patterns Using Alpakka Kafka Connector (Sean Glover, Lightbe...
confluent
 
PDF
Akka Revealed: A JVM Architect's Journey From Resilient Actors To Scalable Cl...
Lightbend
 
PDF
Sigmoid akka stream
Sigmoid
 
PDF
VJUG24 - Reactive Integrations with Akka Streams
Johan Andrén
 
PPTX
ReactiveStream-meetup-Jan102015ppt
Rahul Kumar
 
PDF
Reactive integrations with Akka Streams
Konrad Malawski
 
PDF
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
PDF
Reactive Streams, j.u.concurrent & Beyond!
Konrad Malawski
 
PPTX
Taking Akka Streams & Akka Http to Large Scale Production Applications
Akara Sucharitakul
 
PPTX
A Deeper Look Into Reactive Streams with Akka Streams 1.0 and Slick 3.0
Legacy Typesafe (now Lightbend)
 
PDF
Akka Streams in Action @ ScalaDays Berlin 2016
Konrad Malawski
 
Always on. 2018-10 Reactive Summit
Enno Runne
 
Let the alpakka pull your stream
Enno Runne
 
Build Real-Time Streaming ETL Pipelines With Akka Streams, Alpakka And Apache...
Lightbend
 
Webinar Alpakka 2018-08-16
Enno Runne
 
Pakk Your Alpakka: Reactive Streams Integrations For AWS, Azure, & Google Cloud
Lightbend
 
Scala usergroup stockholm - reactive integrations with akka streams
Johan Andrén
 
Reactive Integration with Akka Streams and Alpakka
SoftwareMill
 
Introduction to Akka Streams
Knoldus Inc.
 
Exploring Reactive Integrations With Akka Streams, Alpakka And Apache Kafka
Lightbend
 
Streaming Design Patterns Using Alpakka Kafka Connector (Sean Glover, Lightbe...
confluent
 
Akka Revealed: A JVM Architect's Journey From Resilient Actors To Scalable Cl...
Lightbend
 
Sigmoid akka stream
Sigmoid
 
VJUG24 - Reactive Integrations with Akka Streams
Johan Andrén
 
ReactiveStream-meetup-Jan102015ppt
Rahul Kumar
 
Reactive integrations with Akka Streams
Konrad Malawski
 
Understanding Akka Streams, Back Pressure, and Asynchronous Architectures
Lightbend
 
Reactive Streams, j.u.concurrent & Beyond!
Konrad Malawski
 
Taking Akka Streams & Akka Http to Large Scale Production Applications
Akara Sucharitakul
 
A Deeper Look Into Reactive Streams with Akka Streams 1.0 and Slick 3.0
Legacy Typesafe (now Lightbend)
 
Akka Streams in Action @ ScalaDays Berlin 2016
Konrad Malawski
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 

Recently uploaded (20)

PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
Doc9.....................................
SofiaCollazos
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
The Future of Artificial Intelligence (AI)
Mukul
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 

Alpakka:Intergating Akka-Streams with different technology

  • 1. Presented By: Muskan Gupta(Intern) Alpakka : Integrating Akka Streams with different technology
  • 2. Lack of etiquette and manners is a huge turn off. Remote KnolX Etiquettes Punctuality Respect Knolx session timings, you are requested not to join sessions after a 5 minutes threshold post the session start time. Feedback Make sure to submit a constructive feedback for all sessions as it is very helpful for the presenter. Turn off your microphone. Keep your windows on mute.
  • 3. Our Agenda ● Introduction to Reactive Streams ● Introduction to Akka Streams ● What is Alpakka ● Need for Alpakka ● Kafka to ES and Cassandra ● Demo
  • 4. Brief About Reactive Streams Reactive Streams is an initiative to provide a standard for asynchronous stream processing with non-blocking back pressure. T ● Asynchronous Stream Processing ● Non-blocking Back-pressured
  • 5. . ● Stream is basically a sequence of data that can be infinite. ● Processing a stream is termed as Stream Processing. ● Asynchronous means that publisher and consumer are not synced with each other with a clock. ● Asynchronous processing is required to enable parallel use of computer resources. Asynchronous Stream Processing
  • 6. A way for consumers of data to notify the producers about their current availability Back Pressure
  • 7. Need for Reactive Streams . ● Handling Streams of data-specially live data whose size is not predetermined.-requires special care in an asynchronous system. ● To govern the exchange of stream data across an asynchronous boundary - like passing elements on to another thread or thread-pool. ● The most prominent issue is resource consumption needs to be controlled such that a fast data source does not overwhelm the stream destination i.e maintaining the back-pressure.
  • 8. Introduction to Akka-Streams ● Entry point to your stream. ● Sources receive demand from downstream. ● Can receive data from file, database, collection etc. . Akka Stream is a module built on top of Akka actors to make the ingestion and processing of data easy. It implement an asynchronous, non-blocking and back-pressured protocol. ● The flow is a processing step within the stream. ● It combines one incoming channel and one outgoing channel as well as some transformation of the messages passing through it. ● Exit point of your stream. ● Sink send demand to the source. ● Can write data to a file, database, collection etc.
  • 9. What is Alpakka? . Alpakka is an open source project, that is built on top of Akka-Streams. It provide a DSL for reactive and stream-oriented programming. You can use Java and Scala as well. It has built-in support for backpressure to handle the flow of data. Alpakka provides us a number of connectors to integrate akka-streams with different technologies. Insert Your Subtitle Here
  • 10. Need of Alpakka ● Akka-Streams does not provide built-in Sources/Sinks/Flows to connect with different end points. ● If you want to connect external data stores/queue in Akka-Streams you will have to do coding for that yourself and it would be much more complex. ● Alpakka comes to rescue in that situation.
  • 12. Alpakka Kafka The Alpakka Kafka connector was originally known as Reactive Kafka or even as Akka-Streams Kafka. It let’s you connect Apache Kafka with Akka Streams. Dependency libraryDependencies += "com.typesafe.akka" %% "akka-stream-kafka" % "2.0.3"
  • 14. Alpakka Cassandra The Alpakka Cassandra provides a connector to connect Cassandra with Akka-Streams. Dependency libraryDependencies += "com.lightbend.akka" %% "akka-stream-alpakka-cassandra" % "2.0.0"
  • 15. Alpakka Elasticsearch This is an implementation of Akka-Streams with Elasticsearch. It basically provides us connectors to connect elasticsearch with akka-streams. Dependency libraryDependencies += "com.lightbend.akka" %% "akka-stream-alpakka-elasticsearch" % "2.0.0"
  • 16. DEMO
  • 18. Thank You ! Get in touch with us: Lorem Studio, Lord Building D4456, LA, USA