SlideShare a Scribd company logo
CRACKING THE NUT
Timothy Spann & David Kjerrumgaard
Developer Advocates / StreamNative
Wednesday 22-Sept-2021
Cracking the Nut, Solving Edge AI
Agenda
Wednesday 17:10 UTC
Cracking the Nut, Solving Edge AI with Apache Tools and Frameworks
Today, data is being generated from devices and containers living at the edge of networks, clouds and
data centers. We need to run business logic, analytics and deep learning at the edge before we start our
real-time streaming flows. Fortunately using the all Apache FLiP Stack we can do this with ease!
Streaming AI Powered Analytics From the Edge to the Data Center is now a simple use case. With
MiNiFi we can ingest the data, do data checks, cleansing, run machine learning and deep learning
models and route our data in real-time to Apache NiFi and Apache Pulsar for further transformations
and processing. Apache Flink will provide our advanced streaming capabilities fed real-time via Apache
Kafka topics. Apache MXNet models will run both at the edge and in our data centers via Apache NiFi
and MiNiFi. Our final data will be stored in various Apache datastores. Event-Driven Microservices in
Apache Pulsar Functions.
Tools:
Apache Flink, Apache Pulsar, Apache NiFi, MiNiFi, Apache MXNet
My Other Talks & Apache Pulsar Talks
● Tuesday 17:10 UTC - Apache NIFi Deep Dive 300 by Tim Spann
● Tuesday 18:00 UTC - Apache Deep Learning 302 by Tim Spann
● Wednesday 15:00 UTC - Smart Transit: Real-Time Transit Information with FLiP by David Kjerrumgaard & Tim Spann
● Wednesday 15:50 UTC - Replicated Subscriptions: taking Apache Pulsar Geo-Replication to next level by Matteo Merli
● Wednesday 17:10 UTC - Cracking the Nut, Solving Edge AI... by David Kjerrumgaard & Tim Spann
● Wednesday 17:10 UTC - Exclusive Producer: Using Apache Pulsar to build distributed applications by Matteo Merli
● Thursday 14:10 UTC - Apache NiFi 101: Introduction and Best Practices - Tim Spann
Stay Connected With Us!
https://github.com/david-streamlio
David Kjerrumgaard
Developer Advocate
https://twitter.com/DavidKjerrumga1
https://github.com/tspannhw
Tim Spann
Developer Advocate
https://twitter.com/paasDev
https://www.linkedin.com/in/davidkj/ https://www.linkedin.com/in/timothyspann
Speaker Bio
https://github.com/david-streamlio
https://pulsar-summit.org/en/event/virtual-conference-202
0/speaker/david-kjerrumgaard
https://www.slideshare.net/streamnative/using-apache-pul
sar-to-provide-realtime-iot-analytics-on-the-edgedavid
Developer Advocate
Speaker Bio
DZone Zone Leader and Big Data MVB;
@PaasDev
https://github.com/tspannhw
https://www.datainmotion.dev/
https://github.com/tspannhw/SpeakerProfile
https://dev.to/tspannhw
https://sessionize.com/tspann/
https://www.slideshare.net/bunkertor
Developer Advocate
streamnative.io
StreamNative Solution
Application Messaging Data Pipelines Real-time Contextual Analytics
Tiered Storage
APP Layer
Computing
Layer
Storage
Layer
StreamNative
Platform
IaaS Layer
Micro
Service
Notification Dashboard Risk Control Auditing
Payment ETL
FLiP Stack
● Apache Flink
● Apache Pulsar
● StreamNative's Flink Connector for Pulsar
● Apache NiFi and more
Apache projects are the way for all streaming
use cases.
FLiP Stack for Cloud Data Engineers - Edge AI
Multiple users, frameworks, languages, clouds, data sources & clusters
CLOUD DATA ENGINEER
• Experience in ETL/ELT
• Coding skills in Python or Java
• Knowledge of database query
languages such as SQL
• Experience with Streaming
• Knowledge of Cloud Tools
• Expert in ETL (Eating, Ties and Laziness)
• Edge Camera Interaction
• Typical User
• No Coding Skills
• Can use NiFi
• Questions your cloud spend
CAT AI / Deep Learning / ML / DS
• Can run in Apache NiFi
• Can run in Pulsar Functions
• Can run in Apache Flink
https://functionmesh.io/
Open Source Cloud Native Frameworks
MQTT on Pulsar (MoP) Kafka on Pulsar (KoP)
Apache MXNet Native Processor through DJL.AI for Apache NiFi
This processor uses the DJL.AI Java Interface
https://github.com/tspannhw/nifi-djl-processor
https://dev.to/tspannhw/easy-deep-learning-in-apache-nifi-with-djl-2d79
13
What is Apache NiFi and MiNiFi used for?
A Unified Messaging Platform
Message Queuing
Data Streaming
ApacheCon 2021:  Cracking the nut with Apache Pulsar (FLiP)
ApacheCon 2021:  Cracking the nut with Apache Pulsar (FLiP)
ApacheCon 2021:  Cracking the nut with Apache Pulsar (FLiP)
Edge AI to Cloud Streaming Pipeline
Device Data
Sensors
Energy Logs
Weather
Sensors
Aggregates
Energy
SQL
Analytics
MiNiFi
Agent
Deep Learning
Classification
Edge Private
Cloud
Multi-Public Cloud
{"uuid": "rpi4_uuid_jfx_20200826203733", "amplitude100": 1.2, "amplitude500": 0.6, "amplitude1000": 0.3, "lownoise": 0.6,
"midnoise": 0.2, "highnoise": 0.2, "amps": 0.3, "ipaddress": "192.168.1.76", "host": "rp4", "host_name": "rp4", "macaddress":
"6e:37:12:08:63:e1", "systemtime": "08/26/2020 16:37:34", "endtime": "1598474254.75", "runtime": "28179.03", "starttime":
"08/26/2020 08:47:54", "cpu": 48.3, "cpu_temp": "72.0", "diskusage": "40219.3 MB", "memory": 24.3, "id":
"20200826203733_28ce9520-6832-4f80-b17d-f36c21fd8fc9", "temperature": "47.2", "adjtemp": "35.8", "adjtempf": "76.4",
"temperaturef": "97.0", "pressure": 1010.0, "humidity": 8.3, "lux": 67.4, "proximity": 0, "oxidising": 77.9, "reducing": 184.6, "nh3":
144.7, "gasKO": "Oxidising: 77913.04 OhmsnReducing: 184625.00 OhmsnNH3: 144651.47 Ohms"}
SHOW ME THE DATA
BME280 - temperature, pressure, humidity sensor
LTR-559 - light and proximity sensor
MICS6814 - analog gas sensor
ADS1015 ADC
MEMS - microphone
0.96-inch, 160 x 80 color LCD
WHERE DID THAT DATA COME FROM?
MANY DEVICES
NVIDIA JETSON WITH ENVIRONMENTAL SENSOR
Using NVIDIA Jetson Devices With Pulsar
https://dev.to/tspannhw/unboxing-the-most-amazing-edge-ai-device
-part-1-of-3-nvidia-jetson-xavier-nx-595k
https://github.com/tspannhw/minifi-xaviernx/
https://github.com/tspannhw/minifi-jetson-nano
https://github.com/tspannhw/Flip-iot
https://www.datainmotion.dev/2020/10/flank-streaming-edgeai-on-n
ew-nvidia.html
Demo Walkthrough
{"entriesAddedCounter":1,"numberOfEntries":1,
"totalSize":651,"currentLedgerEntries":1,"curre
ntLedgerSize":651,"lastLedgerCreatedTimestam
p":"2021-09-13T16:13:06.6-04:00","waitingCurs
orsCount":0,"pendingAddEntriesCount":0,"lastC
onfirmedEntry":"7076:0","state":"LedgerOpene
d","ledgers":[{"ledgerId":7076,"entries":0,"size"
:0,"offloaded":false,"underReplicated":false}],"c
ursors":{},"schemaLedgers":[],"compactedLedge
r":{"ledgerId":-1,"entries":-1,"size":-1,"offloaded
":false,"underReplicated":false}}
NVIDIA JETSON WITH ENVIRONMENTAL SENSOR
NVIDIA JETSON WITH ENVIRONMENTAL SENSOR
key:[null], properties:[], content:{"ir": "258.0", "id":
"20210914142805_cfc3c4ef-6639-46cb-bb16-1fa7ee6424d9", "end": "1631629865.51", "uuid":
"nano_uuid_xmm_20210914142805", "lux": "0", "gputemp": "16.5", "cputemp": "16.5", "te": "179.529592991",
"systemtime": "09/14/2021 10:31:05", "hum": "63.9", "memory": 21.8, "gas": "29843.0", "pressure": "1015.63",
"host": "nano2gb-desktop", "diskusage": "32617.2 MB", "ipaddress": "192.168.1.217", "macaddress":
"1c:bf:ce:1a:7f:a0", "temp": "16.39", "uv": "0.02", "gputempf": "62.0", "host_name": "nano2gb-desktop",
"runtime": "180.0", "cpu": 0.0, "cputempf": "62.0"}
Demo
DEMO SOURCE CODE
● https://github.com/tspannhw/minifi-xaviernx
● https://github.com/tspannhw/minifi-jetson-nano
● https://github.com/tspannhw/minifi-enviroplus
● https://github.com/tspannhw/EverythingApacheNiFi
● https://github.com/tspannhw/CloudDemo2021
● https://www.datainmotion.dev/2019/07/powering-edge-ai-with-powerful-jetson.html
● https://www.datainmotion.dev/2021/07/upcoming-apache-pulsar-and-apache-flink.html
● https://github.com/streamnative/pulsar-flink
● https://www.linkedin.com/pulse/2021-schedule-tim-spann/
● https://github.com/tspannhw/SpeakerProfile/blob/main/2021/talks/20210729_HailHydrate!FromStreamto
Lake_TimSpann.pdf
● https://streamnative.io/en/blog/release/2021-04-20-flink-sql-on-streamnative-cloud
● https://docs.streamnative.io/cloud/stable/compute/flink-sql
● https://dzone.com/articles/real-time-transit-feed-data-processing
Deeper Content
@PaasDev
https://www.pulsardeveloper.com/
timothyspann
streamnative.io
Pulsar Summit Europe
October 6, 2021
Pulsar Summit Asia
November 20-21, 2021
Contact us at partners@pulsar-summit.org to become a sponsor or partner
streamnative.io
32

More Related Content

What's hot (19)

PDF
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
Timothy Spann
 
PDF
Live Demo Jam Expands: The Leading-Edge Streaming Data Platform with NiFi, Ka...
Timothy Spann
 
PDF
ApacheCon 2021 Apache Deep Learning 302
Timothy Spann
 
PDF
Music city data Hail Hydrate! from stream to lake
Timothy Spann
 
PDF
Codeless pipelines with pulsar and flink
Timothy Spann
 
PDF
Data science online camp using the flipn stack for edge ai (flink, nifi, pu...
Timothy Spann
 
PDF
Cloud lunch and learn real-time streaming in azure
Timothy Spann
 
PDF
FLiP Into Trino
Timothy Spann
 
PDF
Api world apache nifi 101
Timothy Spann
 
PDF
Using FLiP with influxdb for edgeai iot at scale 2022
Timothy Spann
 
PDF
ApacheCon 2021: Apache NiFi 101- introduction and best practices
Timothy Spann
 
PDF
DBCC 2021 - FLiP Stack for Cloud Data Lakes
Timothy Spann
 
PDF
Using the FLiPN stack for edge ai (flink, nifi, pulsar)
Timothy Spann
 
PDF
Hail hydrate! from stream to lake using open source
Timothy Spann
 
PDF
Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...
Timothy Spann
 
PDF
Continuous SQL with Apache Streaming (FLaNK and FLiP)
Timothy Spann
 
PDF
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
Timothy Spann
 
PDF
Big mountain data and dev conference apache pulsar with mqtt for edge compu...
Timothy Spann
 
PDF
Osacon 2021 hello hydrate! from stream to clickhouse with apache pulsar and...
Timothy Spann
 
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
Timothy Spann
 
Live Demo Jam Expands: The Leading-Edge Streaming Data Platform with NiFi, Ka...
Timothy Spann
 
ApacheCon 2021 Apache Deep Learning 302
Timothy Spann
 
Music city data Hail Hydrate! from stream to lake
Timothy Spann
 
Codeless pipelines with pulsar and flink
Timothy Spann
 
Data science online camp using the flipn stack for edge ai (flink, nifi, pu...
Timothy Spann
 
Cloud lunch and learn real-time streaming in azure
Timothy Spann
 
FLiP Into Trino
Timothy Spann
 
Api world apache nifi 101
Timothy Spann
 
Using FLiP with influxdb for edgeai iot at scale 2022
Timothy Spann
 
ApacheCon 2021: Apache NiFi 101- introduction and best practices
Timothy Spann
 
DBCC 2021 - FLiP Stack for Cloud Data Lakes
Timothy Spann
 
Using the FLiPN stack for edge ai (flink, nifi, pulsar)
Timothy Spann
 
Hail hydrate! from stream to lake using open source
Timothy Spann
 
Pass data community summit - 2021 - Real-Time Streaming in Azure with Apache ...
Timothy Spann
 
Continuous SQL with Apache Streaming (FLaNK and FLiP)
Timothy Spann
 
Using the FLaNK Stack for edge ai (apache mxnet, apache flink, apache nifi, a...
Timothy Spann
 
Big mountain data and dev conference apache pulsar with mqtt for edge compu...
Timothy Spann
 
Osacon 2021 hello hydrate! from stream to clickhouse with apache pulsar and...
Timothy Spann
 

Similar to ApacheCon 2021: Cracking the nut with Apache Pulsar (FLiP) (20)

PDF
Ai dev world utilizing apache pulsar, apache ni fi and minifi for edgeai io...
Timothy Spann
 
PDF
Using the flipn stack for edge ai (flink, nifi, pulsar)
Timothy Spann
 
PDF
Using the FLiPN Stack for Edge AI (Flink, NiFi, Pulsar) - Pulsar Summit Asia ...
StreamNative
 
PDF
ApacheCon 2021 - Apache NiFi Deep Dive 300
Timothy Spann
 
PDF
Pulsar summit asia 2021 apache pulsar with mqtt for edge computing
Timothy Spann
 
PDF
Citizen Streaming Engineer - A How To
Timothy Spann
 
PDF
ApacheCon2022_Citizen Streaming Engineer - A How To
Timothy Spann
 
PDF
Using the FLiPN Stack for Edge AI (Flink, NiFi, Pulsar)
Timothy Spann
 
PDF
Apache Deep Learning 201 - Philly Open Source
Timothy Spann
 
PDF
Hands-On Deep Dive with MiniFi and Apache MXNet
Timothy Spann
 
PDF
Big data conference europe real-time streaming in any and all clouds, hybri...
Timothy Spann
 
PDF
Using FLiP with influxdb for EdgeAI IoT at Scale
Timothy Spann
 
PDF
Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...
InfluxData
 
PDF
CoC23_ Let’s Monitor The Conditions at the Conference
Timothy Spann
 
PDF
Enterprise IIoT Edge Processing with Apache NiFi
Timothy Spann
 
PDF
[AI Dev World 2022] Build ML Enhanced Event Streaming
Timothy Spann
 
PDF
Using FLiP with InfluxDB for EdgeAI IoT at Scale 2022
Timothy Spann
 
PDF
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
StreamNative
 
PPTX
Apache Deep Learning 201
DataWorks Summit
 
PDF
Designing Event-Driven Applications with Apache NiFi, Apache Flink, Apache Sp...
Timothy Spann
 
Ai dev world utilizing apache pulsar, apache ni fi and minifi for edgeai io...
Timothy Spann
 
Using the flipn stack for edge ai (flink, nifi, pulsar)
Timothy Spann
 
Using the FLiPN Stack for Edge AI (Flink, NiFi, Pulsar) - Pulsar Summit Asia ...
StreamNative
 
ApacheCon 2021 - Apache NiFi Deep Dive 300
Timothy Spann
 
Pulsar summit asia 2021 apache pulsar with mqtt for edge computing
Timothy Spann
 
Citizen Streaming Engineer - A How To
Timothy Spann
 
ApacheCon2022_Citizen Streaming Engineer - A How To
Timothy Spann
 
Using the FLiPN Stack for Edge AI (Flink, NiFi, Pulsar)
Timothy Spann
 
Apache Deep Learning 201 - Philly Open Source
Timothy Spann
 
Hands-On Deep Dive with MiniFi and Apache MXNet
Timothy Spann
 
Big data conference europe real-time streaming in any and all clouds, hybri...
Timothy Spann
 
Using FLiP with influxdb for EdgeAI IoT at Scale
Timothy Spann
 
Timothy Spann [StreamNative] | Using FLaNK with InfluxDB for EdgeAI IoT at Sc...
InfluxData
 
CoC23_ Let’s Monitor The Conditions at the Conference
Timothy Spann
 
Enterprise IIoT Edge Processing with Apache NiFi
Timothy Spann
 
[AI Dev World 2022] Build ML Enhanced Event Streaming
Timothy Spann
 
Using FLiP with InfluxDB for EdgeAI IoT at Scale 2022
Timothy Spann
 
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
StreamNative
 
Apache Deep Learning 201
DataWorks Summit
 
Designing Event-Driven Applications with Apache NiFi, Apache Flink, Apache Sp...
Timothy Spann
 
Ad

More from Timothy Spann (20)

PDF
14May2025_TSPANN_FromAirQualityUnstructuredData.pdf
Timothy Spann
 
PDF
Streaming AI Pipelines with Apache NiFi and Snowflake NYC 2025
Timothy Spann
 
PDF
2025-03-03-Philly-AAAI-GoodData-Build Secure RAG Apps With Open LLM
Timothy Spann
 
PDF
Conf42_IoT_Dec2024_Building IoT Applications With Open Source
Timothy Spann
 
PDF
2024 Dec 05 - PyData Global - Tutorial Its In The Air Tonight
Timothy Spann
 
PDF
2024Nov20-BigDataEU-RealTimeAIWithOpenSource
Timothy Spann
 
PDF
TSPANN-2024-Nov-CloudX-Adding Generative AI to Real-Time Streaming Pipelines
Timothy Spann
 
PDF
2024-Nov-BuildStuff-Adding Generative AI to Real-Time Streaming Pipelines
Timothy Spann
 
PDF
14 November 2024 - Conf 42 - Prompt Engineering - Codeless Generative AI Pipe...
Timothy Spann
 
PDF
2024 Nov 05 - Linux Foundation TAC TALK With Milvus
Timothy Spann
 
PPTX
tspann06-NOV-2024_AI-Alliance_NYC_ intro to Data Prep Kit and Open Source RAG
Timothy Spann
 
PDF
tspann08-Nov-2024_PyDataNYC_Unstructured Data Processing with a Raspberry Pi ...
Timothy Spann
 
PDF
2024-10-28 All Things Open - Advanced Retrieval Augmented Generation (RAG) Te...
Timothy Spann
 
PDF
10-25-2024_BITS_NYC_Unstructured Data and LLM_ What, Why and How
Timothy Spann
 
PDF
2024-OCT-23 NYC Meetup - Unstructured Data Meetup - Unstructured Halloween
Timothy Spann
 
PDF
DBTA Round Table with Zilliz and Airbyte - Unstructured Data Engineering
Timothy Spann
 
PDF
17-October-2024 NYC AI Camp - Step-by-Step RAG 101
Timothy Spann
 
PDF
11-OCT-2024_AI_101_CryptoOracle_UnstructuredData
Timothy Spann
 
PDF
2024-10-04 - Grace Hopper Celebration Open Source Day - Stefan
Timothy Spann
 
PDF
01-Oct-2024_PES-VectorDatabasesAndAI.pdf
Timothy Spann
 
14May2025_TSPANN_FromAirQualityUnstructuredData.pdf
Timothy Spann
 
Streaming AI Pipelines with Apache NiFi and Snowflake NYC 2025
Timothy Spann
 
2025-03-03-Philly-AAAI-GoodData-Build Secure RAG Apps With Open LLM
Timothy Spann
 
Conf42_IoT_Dec2024_Building IoT Applications With Open Source
Timothy Spann
 
2024 Dec 05 - PyData Global - Tutorial Its In The Air Tonight
Timothy Spann
 
2024Nov20-BigDataEU-RealTimeAIWithOpenSource
Timothy Spann
 
TSPANN-2024-Nov-CloudX-Adding Generative AI to Real-Time Streaming Pipelines
Timothy Spann
 
2024-Nov-BuildStuff-Adding Generative AI to Real-Time Streaming Pipelines
Timothy Spann
 
14 November 2024 - Conf 42 - Prompt Engineering - Codeless Generative AI Pipe...
Timothy Spann
 
2024 Nov 05 - Linux Foundation TAC TALK With Milvus
Timothy Spann
 
tspann06-NOV-2024_AI-Alliance_NYC_ intro to Data Prep Kit and Open Source RAG
Timothy Spann
 
tspann08-Nov-2024_PyDataNYC_Unstructured Data Processing with a Raspberry Pi ...
Timothy Spann
 
2024-10-28 All Things Open - Advanced Retrieval Augmented Generation (RAG) Te...
Timothy Spann
 
10-25-2024_BITS_NYC_Unstructured Data and LLM_ What, Why and How
Timothy Spann
 
2024-OCT-23 NYC Meetup - Unstructured Data Meetup - Unstructured Halloween
Timothy Spann
 
DBTA Round Table with Zilliz and Airbyte - Unstructured Data Engineering
Timothy Spann
 
17-October-2024 NYC AI Camp - Step-by-Step RAG 101
Timothy Spann
 
11-OCT-2024_AI_101_CryptoOracle_UnstructuredData
Timothy Spann
 
2024-10-04 - Grace Hopper Celebration Open Source Day - Stefan
Timothy Spann
 
01-Oct-2024_PES-VectorDatabasesAndAI.pdf
Timothy Spann
 
Ad

Recently uploaded (20)

PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PPTX
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
Empowering Asian Contributions: The Rise of Regional User Groups in Open Sour...
Shane Coughlan
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Driver Easy Pro 6.1.1 Crack Licensce key 2025 FREE
utfefguu
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 

ApacheCon 2021: Cracking the nut with Apache Pulsar (FLiP)

  • 1. CRACKING THE NUT Timothy Spann & David Kjerrumgaard Developer Advocates / StreamNative Wednesday 22-Sept-2021
  • 2. Cracking the Nut, Solving Edge AI
  • 3. Agenda Wednesday 17:10 UTC Cracking the Nut, Solving Edge AI with Apache Tools and Frameworks Today, data is being generated from devices and containers living at the edge of networks, clouds and data centers. We need to run business logic, analytics and deep learning at the edge before we start our real-time streaming flows. Fortunately using the all Apache FLiP Stack we can do this with ease! Streaming AI Powered Analytics From the Edge to the Data Center is now a simple use case. With MiNiFi we can ingest the data, do data checks, cleansing, run machine learning and deep learning models and route our data in real-time to Apache NiFi and Apache Pulsar for further transformations and processing. Apache Flink will provide our advanced streaming capabilities fed real-time via Apache Kafka topics. Apache MXNet models will run both at the edge and in our data centers via Apache NiFi and MiNiFi. Our final data will be stored in various Apache datastores. Event-Driven Microservices in Apache Pulsar Functions. Tools: Apache Flink, Apache Pulsar, Apache NiFi, MiNiFi, Apache MXNet
  • 4. My Other Talks & Apache Pulsar Talks ● Tuesday 17:10 UTC - Apache NIFi Deep Dive 300 by Tim Spann ● Tuesday 18:00 UTC - Apache Deep Learning 302 by Tim Spann ● Wednesday 15:00 UTC - Smart Transit: Real-Time Transit Information with FLiP by David Kjerrumgaard & Tim Spann ● Wednesday 15:50 UTC - Replicated Subscriptions: taking Apache Pulsar Geo-Replication to next level by Matteo Merli ● Wednesday 17:10 UTC - Cracking the Nut, Solving Edge AI... by David Kjerrumgaard & Tim Spann ● Wednesday 17:10 UTC - Exclusive Producer: Using Apache Pulsar to build distributed applications by Matteo Merli ● Thursday 14:10 UTC - Apache NiFi 101: Introduction and Best Practices - Tim Spann
  • 5. Stay Connected With Us! https://github.com/david-streamlio David Kjerrumgaard Developer Advocate https://twitter.com/DavidKjerrumga1 https://github.com/tspannhw Tim Spann Developer Advocate https://twitter.com/paasDev https://www.linkedin.com/in/davidkj/ https://www.linkedin.com/in/timothyspann
  • 7. Speaker Bio DZone Zone Leader and Big Data MVB; @PaasDev https://github.com/tspannhw https://www.datainmotion.dev/ https://github.com/tspannhw/SpeakerProfile https://dev.to/tspannhw https://sessionize.com/tspann/ https://www.slideshare.net/bunkertor Developer Advocate
  • 8. streamnative.io StreamNative Solution Application Messaging Data Pipelines Real-time Contextual Analytics Tiered Storage APP Layer Computing Layer Storage Layer StreamNative Platform IaaS Layer Micro Service Notification Dashboard Risk Control Auditing Payment ETL
  • 9. FLiP Stack ● Apache Flink ● Apache Pulsar ● StreamNative's Flink Connector for Pulsar ● Apache NiFi and more Apache projects are the way for all streaming use cases.
  • 10. FLiP Stack for Cloud Data Engineers - Edge AI Multiple users, frameworks, languages, clouds, data sources & clusters CLOUD DATA ENGINEER • Experience in ETL/ELT • Coding skills in Python or Java • Knowledge of database query languages such as SQL • Experience with Streaming • Knowledge of Cloud Tools • Expert in ETL (Eating, Ties and Laziness) • Edge Camera Interaction • Typical User • No Coding Skills • Can use NiFi • Questions your cloud spend CAT AI / Deep Learning / ML / DS • Can run in Apache NiFi • Can run in Pulsar Functions • Can run in Apache Flink https://functionmesh.io/
  • 11. Open Source Cloud Native Frameworks MQTT on Pulsar (MoP) Kafka on Pulsar (KoP)
  • 12. Apache MXNet Native Processor through DJL.AI for Apache NiFi This processor uses the DJL.AI Java Interface https://github.com/tspannhw/nifi-djl-processor https://dev.to/tspannhw/easy-deep-learning-in-apache-nifi-with-djl-2d79
  • 13. 13 What is Apache NiFi and MiNiFi used for?
  • 14. A Unified Messaging Platform Message Queuing Data Streaming
  • 18. Edge AI to Cloud Streaming Pipeline Device Data Sensors Energy Logs Weather Sensors Aggregates Energy SQL Analytics MiNiFi Agent Deep Learning Classification Edge Private Cloud Multi-Public Cloud
  • 19. {"uuid": "rpi4_uuid_jfx_20200826203733", "amplitude100": 1.2, "amplitude500": 0.6, "amplitude1000": 0.3, "lownoise": 0.6, "midnoise": 0.2, "highnoise": 0.2, "amps": 0.3, "ipaddress": "192.168.1.76", "host": "rp4", "host_name": "rp4", "macaddress": "6e:37:12:08:63:e1", "systemtime": "08/26/2020 16:37:34", "endtime": "1598474254.75", "runtime": "28179.03", "starttime": "08/26/2020 08:47:54", "cpu": 48.3, "cpu_temp": "72.0", "diskusage": "40219.3 MB", "memory": 24.3, "id": "20200826203733_28ce9520-6832-4f80-b17d-f36c21fd8fc9", "temperature": "47.2", "adjtemp": "35.8", "adjtempf": "76.4", "temperaturef": "97.0", "pressure": 1010.0, "humidity": 8.3, "lux": 67.4, "proximity": 0, "oxidising": 77.9, "reducing": 184.6, "nh3": 144.7, "gasKO": "Oxidising: 77913.04 OhmsnReducing: 184625.00 OhmsnNH3: 144651.47 Ohms"} SHOW ME THE DATA
  • 20. BME280 - temperature, pressure, humidity sensor LTR-559 - light and proximity sensor MICS6814 - analog gas sensor ADS1015 ADC MEMS - microphone 0.96-inch, 160 x 80 color LCD WHERE DID THAT DATA COME FROM?
  • 22. NVIDIA JETSON WITH ENVIRONMENTAL SENSOR
  • 23. Using NVIDIA Jetson Devices With Pulsar https://dev.to/tspannhw/unboxing-the-most-amazing-edge-ai-device -part-1-of-3-nvidia-jetson-xavier-nx-595k https://github.com/tspannhw/minifi-xaviernx/ https://github.com/tspannhw/minifi-jetson-nano https://github.com/tspannhw/Flip-iot https://www.datainmotion.dev/2020/10/flank-streaming-edgeai-on-n ew-nvidia.html
  • 25. NVIDIA JETSON WITH ENVIRONMENTAL SENSOR
  • 26. NVIDIA JETSON WITH ENVIRONMENTAL SENSOR key:[null], properties:[], content:{"ir": "258.0", "id": "20210914142805_cfc3c4ef-6639-46cb-bb16-1fa7ee6424d9", "end": "1631629865.51", "uuid": "nano_uuid_xmm_20210914142805", "lux": "0", "gputemp": "16.5", "cputemp": "16.5", "te": "179.529592991", "systemtime": "09/14/2021 10:31:05", "hum": "63.9", "memory": 21.8, "gas": "29843.0", "pressure": "1015.63", "host": "nano2gb-desktop", "diskusage": "32617.2 MB", "ipaddress": "192.168.1.217", "macaddress": "1c:bf:ce:1a:7f:a0", "temp": "16.39", "uv": "0.02", "gputempf": "62.0", "host_name": "nano2gb-desktop", "runtime": "180.0", "cpu": 0.0, "cputempf": "62.0"}
  • 27. Demo
  • 28. DEMO SOURCE CODE ● https://github.com/tspannhw/minifi-xaviernx ● https://github.com/tspannhw/minifi-jetson-nano ● https://github.com/tspannhw/minifi-enviroplus ● https://github.com/tspannhw/EverythingApacheNiFi ● https://github.com/tspannhw/CloudDemo2021 ● https://www.datainmotion.dev/2019/07/powering-edge-ai-with-powerful-jetson.html ● https://www.datainmotion.dev/2021/07/upcoming-apache-pulsar-and-apache-flink.html
  • 29. ● https://github.com/streamnative/pulsar-flink ● https://www.linkedin.com/pulse/2021-schedule-tim-spann/ ● https://github.com/tspannhw/SpeakerProfile/blob/main/2021/talks/20210729_HailHydrate!FromStreamto Lake_TimSpann.pdf ● https://streamnative.io/en/blog/release/2021-04-20-flink-sql-on-streamnative-cloud ● https://docs.streamnative.io/cloud/stable/compute/flink-sql ● https://dzone.com/articles/real-time-transit-feed-data-processing Deeper Content @PaasDev https://www.pulsardeveloper.com/ timothyspann
  • 30. streamnative.io Pulsar Summit Europe October 6, 2021 Pulsar Summit Asia November 20-21, 2021 Contact us at [email protected] to become a sponsor or partner
  • 32. 32