SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Making your life easier
with MongoDB and
Kafka
Robert Walters | MongoDB
Presenter
Robert Walters
Product Manager
Connectors and Things
MongoDB
https://www.linkedin.com/in/robwaltersprofile/
Agenda
MongoDB Primer
Deep Dive: MongoDB Kafka Connector
Demo
MongoDB Adoption
90,000,000+
MongoDB Downloads
1 500,000+
Online Education Students
1m+
MongoDB Atlas Clusters
75,000+
MongoDB User Group
Members
1,000+
Technology and Services
Partners
17,500+
Customers Across All
Industries
DB-Engines Rankings
Fastest Growing Database over
the past decade
Worldwide Activations
How does MongoDB make my
life easier?
Strict Schema vs. Flexible Data Model
id title description
12345-WoTLamp-1234 My Lamp A lamp in the room
67890-WoTLamp-1234 My Other Lamp Another lamp in the room
id thing_id title readOnly writeOnly
4711-p1 12345-WoTLamp-1234 status false false
id thing_id title safe idempodent
4711-a1 12345-WoTLamp-1234 toggle false false
id thing_id title readOnly writeOnly
4711-e1 12345-WoTLamp-1234 overheating false false
Thing
Property
Action
Event
{
"id": "123456-WoTLamp-1234",
"title": "My Lamp",
"description": "A lamp in the room",
"properties": {
"status": {
"type": "string",
"readOnly" : false,
"writeOnly" : false
}
},
"actions": {
"toggle": {
"safe": false,
"idempodent": false
}
},
"events": {
"overheating": {
"data": {
"type": "string",
"readOnly" : false,
"writeOnly" : false
}
}
}
}
Relational Example Flexible Document Model
Telediagnostics: The Future of Mercedes Benz Services
Learn more about the project in Madalin Broscaru’s MongoDB.live presentation:
Telediagnostics@Mercedes Benz powered by MongoDB
https://www.youtube.com/watch?v=MEH9_P_NATk&list=PL4RCxklHWZ9uRUB9qTnZE9cauOsTGE22n&index=50
… the Vehicle Data
Conditioning (VDC) where
these technical vehicle events
are processed …
CAC
Retail
Customer
… and the follow-up processes are
triggered with real-time
recommendations for actions.
Vehicles are transmitting regularly
status and health data into ...
Aggregated
Quality Analysis
Telediagnostics: The Future of Mercedes Benz Services
{
.............
"schema": "3.1.0"
"createdAt": {..},
.............
"vehicleIdentData": {
"chassisNumber": "WDD24708A5432J63",
"countryCode": "4f3490b14e238a5f",
"modelSeries": "f16ad22d42064811",
"modelType": "2196868af1c70d74",
"modelYear": "5e01ac15d73c3e4a",
"steering": "4a3424fe6411461c"
},
"basicData": {
"mileage": {..},
"batteries": [..],
"tanks": [..],
"tiresPressure": [..],
},
"controlUnits": [..],
"affectedFunctions": [..],
"vehicleClusterMessagesData": [..],
"maintenanceData": {...},
..............
}
"controlUnits": [
{
"ecuId": {..}
"name": "a927e49b0549f00f71",
"detailsHardware": {},
"detailsSoftware": {},
"dtc": [
{
"code": "B214F73",
...
"failureText": "81957650ea",
"environmentalData": {...}
},
...
]
},
...
]
More presentations available:
https://www.mongodb.com/world
Self-hosted MongoDB Turn-key modern database
You install, patch,
maintain, scale, etc..
MongoDB as a service plus
a whole lot more…
MongoDB & MongoDB Atlas
MongoDB Atlas demo
Kafka Connect
Connect Connect
https://hub.confluent.io
[sources
]
[sinks]
ANY e.g. file systems, data stores, REST endpoints, …
Kafka Connect is an easy way to get data from many heterogeneous platforms into and out of Kafka
Available on the Confluent Hub:
https://www.confluent.io/hub/mongodb/kafka-connect-mongodb
MongoDB Connector for Apache Kafka
Supported by MongoDB Verified Gold by
#MDBLocal
MongoDB Source
MongoDB Database
MongoDB
Connector
topicA
topicB
topicC
Kafka Cluster
Subscribes to
Change Stream
events
Writes to Kafka
Topic(s)
When MongoDB is a Kafka Source...
Subscribes to change stream events and writes to Kafka topic(s)
#MDBLocal
MongoDB Source: Writing to a Topic
Writes to topic based on database and collection name
Be aware of your message sizes
Optionally specify pipeline to manage change stream output to watch
Optionally set a topic.prefix in the connector configuration
database
collection
{}
[topic.prefix].database-name.collection-name
writes to topic ->
connector
pipeline[]
change
stream
#MDBLocal
MongoDB Sink
MongoDB Database
MongoDB
Connector
topicA
topicB
topicC
Kafka Cluster
Writes
documents to db
collection
Reads from
Kafka Topic(s)
When MongoDB is a Kafka Sink...
Reads from Kafka topic(s) and writes documents to collection
#MDBLocal
MongoDB Sink: Reading Messages from Topic
Reads messages from topic (based on pointer to message in topic)
Writes message into MongoDB database collection
Moves pointer to next message based on write to database
Kafka Topic
connector
database
collection
{}
1: pointer to
message to read
3: on successful write,
moves pointer to next
MongoDB Connector
Configuring the connector as a source and sink
Aging data out to cost-effective cloud storage with Atlas Online Archive
MongoDB Atlas Connector in
Confluent Cloud!
Two Ways to Stream
1919
SELF-MANAGED SOFTWARE
Confluent Platform
The Enterprise Distribution of Apache Kafka
Deploy on any platform, on-prem or cloud
VM
FULLY-MANAGED SOFTWARE
Confluent Cloud
Apache Kafka Re-Engineered for the Cloud
Available on the leading public clouds
Option to purchase via GCP marketplace
Both: Subscription products where price scales with usage
Confluent Cloud MongoDB Atlas Connector
Preview Limitations
Source
• MongoDB Atlas only.
• Public access (0.0.0.0/0) must be
allowed by Atlas.
• Output of this connector is String.
• 1 task / connector limitation
• Pipeline parameter not available
Sink
● MongoDB Atlas only.
● The MongoDB Atlas and Kafka cluster
must be in the same region.
● Public access (0.0.0.0/0) must be allowed
by Atlas.
● 1 task / connector limitation
NOTE: These preview limitations only apply to the MongoDB Atlas
connector in the Confluent Cloud. The MongoDB Connector for Apache
Kafka can be used in a self-hosted environment with MongoDB Atlas
without these network restrictions.
Using MongoDB Atlas with
Confluent Cloud
Want to Know More?
https://www.confluent.io/resources/confluent-platform-reference-architecture-mongodb/
Making your life easier
Wrap Up
Document Model
and MQL
The fastest way
to innovate
MongoDB Connector for
Apache Kafka
Gold Certified - Available
on Confluent Cloud!
MongoDB
Atlas:
More than a database -
a data platform
Thank you
That’s all folks
Robert Walters | Robert.Walters@MongoDB.com | MongoDB

Weitere ähnliche Inhalte

Was ist angesagt?

Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMwareEvent Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
HostedbyConfluent
 

Was ist angesagt? (20)

Keeping Analytics Data Fresh in a Streaming Architecture | John Neal, Qlik
Keeping Analytics Data Fresh in a Streaming Architecture | John Neal, QlikKeeping Analytics Data Fresh in a Streaming Architecture | John Neal, Qlik
Keeping Analytics Data Fresh in a Streaming Architecture | John Neal, Qlik
 
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
Event-driven Applications with Kafka, Micronaut, and AWS Lambda | Dave Klein,...
 
Understanding Kafka Produce and Fetch api calls for high throughtput applicat...
Understanding Kafka Produce and Fetch api calls for high throughtput applicat...Understanding Kafka Produce and Fetch api calls for high throughtput applicat...
Understanding Kafka Produce and Fetch api calls for high throughtput applicat...
 
Serverless Architectures with AWS Lambda and MongoDB Atlas by Sig Narvaez
Serverless Architectures with AWS Lambda and MongoDB Atlas by Sig NarvaezServerless Architectures with AWS Lambda and MongoDB Atlas by Sig Narvaez
Serverless Architectures with AWS Lambda and MongoDB Atlas by Sig Narvaez
 
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
SingleStore & Kafka: Better Together to Power Modern Real-Time Data Architect...
 
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
Stream processing IoT time series data with Kafka & InfluxDB | Al Sargent, In...
 
Deep Dive Series #3: Schema Validation + Structured Audit Logs
Deep Dive Series #3: Schema Validation + Structured Audit LogsDeep Dive Series #3: Schema Validation + Structured Audit Logs
Deep Dive Series #3: Schema Validation + Structured Audit Logs
 
Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...
Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...
Azure Labs: Confluent on Azure Container Services & Real-time Search with Red...
 
Kafka in Context, Cloud, & Community (Simon Elliston Ball, Cloudera) Kafka Su...
Kafka in Context, Cloud, & Community (Simon Elliston Ball, Cloudera) Kafka Su...Kafka in Context, Cloud, & Community (Simon Elliston Ball, Cloudera) Kafka Su...
Kafka in Context, Cloud, & Community (Simon Elliston Ball, Cloudera) Kafka Su...
 
Elastically Scaling Kafka Using Confluent
Elastically Scaling Kafka Using ConfluentElastically Scaling Kafka Using Confluent
Elastically Scaling Kafka Using Confluent
 
Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...
Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...
Kafka Excellence at Scale – Cloud, Kubernetes, Infrastructure as Code (Vik Wa...
 
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + HotstarHow Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
How Much Can You Connect? | Bhavesh Raheja, Disney + Hotstar
 
Cloud-Based Event Stream Processing Architectures and Patterns with Apache Ka...
Cloud-Based Event Stream Processing Architectures and Patterns with Apache Ka...Cloud-Based Event Stream Processing Architectures and Patterns with Apache Ka...
Cloud-Based Event Stream Processing Architectures and Patterns with Apache Ka...
 
Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMwareEvent Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
Event Streaming with Kafka Streams and Spring Cloud Stream | Soby Chacko, VMware
 
Demystifying Event-Driven Architectures with Apache Kafka | Bogdan Sucaciu, P...
Demystifying Event-Driven Architectures with Apache Kafka | Bogdan Sucaciu, P...Demystifying Event-Driven Architectures with Apache Kafka | Bogdan Sucaciu, P...
Demystifying Event-Driven Architectures with Apache Kafka | Bogdan Sucaciu, P...
 
Automate Your Kafka Cluster with Kubernetes Custom Resources
Automate Your Kafka Cluster with Kubernetes Custom Resources Automate Your Kafka Cluster with Kubernetes Custom Resources
Automate Your Kafka Cluster with Kubernetes Custom Resources
 
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
Kafka at the Edge: an IoT scenario with OpenShift Streams for Apache Kafka | ...
 
An Introduction to Confluent Cloud: Apache Kafka as a Service
An Introduction to Confluent Cloud: Apache Kafka as a ServiceAn Introduction to Confluent Cloud: Apache Kafka as a Service
An Introduction to Confluent Cloud: Apache Kafka as a Service
 
Death of the dumb pipes: Using Apache Kafka® for Integration projects
Death of the dumb pipes: Using Apache Kafka® for Integration projectsDeath of the dumb pipes: Using Apache Kafka® for Integration projects
Death of the dumb pipes: Using Apache Kafka® for Integration projects
 
Lessons from the field: Catalog of Kafka Deployments | Joseph Niemiec, Cloudera
Lessons from the field: Catalog of Kafka Deployments | Joseph Niemiec, ClouderaLessons from the field: Catalog of Kafka Deployments | Joseph Niemiec, Cloudera
Lessons from the field: Catalog of Kafka Deployments | Joseph Niemiec, Cloudera
 

Ähnlich wie Making your Life Easier with MongoDB and Kafka (Robert Walters, MongoDB) Kafka Summit 2020

SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptxSH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
MongoDB
 

Ähnlich wie Making your Life Easier with MongoDB and Kafka (Robert Walters, MongoDB) Kafka Summit 2020 (20)

Webinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB AtlasWebinar: Simplifying the Database Experience with MongoDB Atlas
Webinar: Simplifying the Database Experience with MongoDB Atlas
 
Why NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB AtlasWhy NBC Universal Migrated to MongoDB Atlas
Why NBC Universal Migrated to MongoDB Atlas
 
Data Streaming with Apache Kafka & MongoDB
Data Streaming with Apache Kafka & MongoDBData Streaming with Apache Kafka & MongoDB
Data Streaming with Apache Kafka & MongoDB
 
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptxSH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
SH 1 - SES 4 - Microservices - Andrew Morgan TLV.pptx
 
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB AtlasMongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
 
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB AtlasMongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
MongoDB SoCal 2020: Migrate Anything* to MongoDB Atlas
 
NoSQL on microsoft azure april 2014
NoSQL on microsoft azure   april 2014NoSQL on microsoft azure   april 2014
NoSQL on microsoft azure april 2014
 
MongoDB Atlas
MongoDB AtlasMongoDB Atlas
MongoDB Atlas
 
Cloud Native Applications on OpenShift
Cloud Native Applications on OpenShiftCloud Native Applications on OpenShift
Cloud Native Applications on OpenShift
 
Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...
Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...
Powering Microservices with MongoDB, Docker, Kubernetes & Kafka – MongoDB Eur...
 
MongoDB World 2016: Get MEAN and Lean with MongoDB and Kubernetes
MongoDB World 2016: Get MEAN and Lean with MongoDB and KubernetesMongoDB World 2016: Get MEAN and Lean with MongoDB and Kubernetes
MongoDB World 2016: Get MEAN and Lean with MongoDB and Kubernetes
 
AWS re:Invent 2016: How Thermo Fisher Is Reducing Mass Spectrometry Experimen...
AWS re:Invent 2016: How Thermo Fisher Is Reducing Mass Spectrometry Experimen...AWS re:Invent 2016: How Thermo Fisher Is Reducing Mass Spectrometry Experimen...
AWS re:Invent 2016: How Thermo Fisher Is Reducing Mass Spectrometry Experimen...
 
PartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC SolutionPartnerSkillUp_Enable a Streaming CDC Solution
PartnerSkillUp_Enable a Streaming CDC Solution
 
MongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDB
MongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDBMongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDB
MongoDB World 2018: Bumps and Breezes: Our Journey from RDBMS to MongoDB
 
MongoDB.local Paris Keynote
MongoDB.local Paris KeynoteMongoDB.local Paris Keynote
MongoDB.local Paris Keynote
 
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDBPowering Microservices with Docker, Kubernetes, Kafka, and MongoDB
Powering Microservices with Docker, Kubernetes, Kafka, and MongoDB
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPS
 
Serverless_with_MongoDB
Serverless_with_MongoDBServerless_with_MongoDB
Serverless_with_MongoDB
 
Moving Enterprise Windows Workloads to AWS – Peter Stanski
Moving Enterprise Windows Workloads to AWS – Peter StanskiMoving Enterprise Windows Workloads to AWS – Peter Stanski
Moving Enterprise Windows Workloads to AWS – Peter Stanski
 

Mehr von HostedbyConfluent

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
HostedbyConfluent
 
Evolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at TrendyolEvolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at Trendyol
HostedbyConfluent
 

Mehr von HostedbyConfluent (20)

Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
Renaming a Kafka Topic | Kafka Summit London
Renaming a Kafka Topic | Kafka Summit LondonRenaming a Kafka Topic | Kafka Summit London
Renaming a Kafka Topic | Kafka Summit London
 
Evolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at TrendyolEvolution of NRT Data Ingestion Pipeline at Trendyol
Evolution of NRT Data Ingestion Pipeline at Trendyol
 
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
Ensuring Kafka Service Resilience: A Dive into Health-Checking TechniquesEnsuring Kafka Service Resilience: A Dive into Health-Checking Techniques
Ensuring Kafka Service Resilience: A Dive into Health-Checking Techniques
 
Exactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and KafkaExactly-once Stream Processing with Arroyo and Kafka
Exactly-once Stream Processing with Arroyo and Kafka
 
Fish Plays Pokemon | Kafka Summit London
Fish Plays Pokemon | Kafka Summit LondonFish Plays Pokemon | Kafka Summit London
Fish Plays Pokemon | Kafka Summit London
 
Tiered Storage 101 | Kafla Summit London
Tiered Storage 101 | Kafla Summit LondonTiered Storage 101 | Kafla Summit London
Tiered Storage 101 | Kafla Summit London
 
Building a Self-Service Stream Processing Portal: How And Why
Building a Self-Service Stream Processing Portal: How And WhyBuilding a Self-Service Stream Processing Portal: How And Why
Building a Self-Service Stream Processing Portal: How And Why
 
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
From the Trenches: Improving Kafka Connect Source Connector Ingestion from 7 ...
 
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
Future with Zero Down-Time: End-to-end Resiliency with Chaos Engineering and ...
 
Navigating Private Network Connectivity Options for Kafka Clusters
Navigating Private Network Connectivity Options for Kafka ClustersNavigating Private Network Connectivity Options for Kafka Clusters
Navigating Private Network Connectivity Options for Kafka Clusters
 
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
Apache Flink: Building a Company-wide Self-service Streaming Data PlatformApache Flink: Building a Company-wide Self-service Streaming Data Platform
Apache Flink: Building a Company-wide Self-service Streaming Data Platform
 
Explaining How Real-Time GenAI Works in a Noisy Pub
Explaining How Real-Time GenAI Works in a Noisy PubExplaining How Real-Time GenAI Works in a Noisy Pub
Explaining How Real-Time GenAI Works in a Noisy Pub
 
TL;DR Kafka Metrics | Kafka Summit London
TL;DR Kafka Metrics | Kafka Summit LondonTL;DR Kafka Metrics | Kafka Summit London
TL;DR Kafka Metrics | Kafka Summit London
 
A Window Into Your Kafka Streams Tasks | KSL
A Window Into Your Kafka Streams Tasks | KSLA Window Into Your Kafka Streams Tasks | KSL
A Window Into Your Kafka Streams Tasks | KSL
 
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
Mastering Kafka Producer Configs: A Guide to Optimizing PerformanceMastering Kafka Producer Configs: A Guide to Optimizing Performance
Mastering Kafka Producer Configs: A Guide to Optimizing Performance
 
Data Contracts Management: Schema Registry and Beyond
Data Contracts Management: Schema Registry and BeyondData Contracts Management: Schema Registry and Beyond
Data Contracts Management: Schema Registry and Beyond
 
Code-First Approach: Crafting Efficient Flink Apps
Code-First Approach: Crafting Efficient Flink AppsCode-First Approach: Crafting Efficient Flink Apps
Code-First Approach: Crafting Efficient Flink Apps
 
Debezium vs. the World: An Overview of the CDC Ecosystem
Debezium vs. the World: An Overview of the CDC EcosystemDebezium vs. the World: An Overview of the CDC Ecosystem
Debezium vs. the World: An Overview of the CDC Ecosystem
 
Beyond Tiered Storage: Serverless Kafka with No Local Disks
Beyond Tiered Storage: Serverless Kafka with No Local DisksBeyond Tiered Storage: Serverless Kafka with No Local Disks
Beyond Tiered Storage: Serverless Kafka with No Local Disks
 

Kürzlich hochgeladen

CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 

Making your Life Easier with MongoDB and Kafka (Robert Walters, MongoDB) Kafka Summit 2020

  • 1. Making your life easier with MongoDB and Kafka Robert Walters | MongoDB
  • 2. Presenter Robert Walters Product Manager Connectors and Things MongoDB https://www.linkedin.com/in/robwaltersprofile/
  • 3. Agenda MongoDB Primer Deep Dive: MongoDB Kafka Connector Demo
  • 4. MongoDB Adoption 90,000,000+ MongoDB Downloads 1 500,000+ Online Education Students 1m+ MongoDB Atlas Clusters 75,000+ MongoDB User Group Members 1,000+ Technology and Services Partners 17,500+ Customers Across All Industries DB-Engines Rankings Fastest Growing Database over the past decade Worldwide Activations
  • 5. How does MongoDB make my life easier?
  • 6. Strict Schema vs. Flexible Data Model id title description 12345-WoTLamp-1234 My Lamp A lamp in the room 67890-WoTLamp-1234 My Other Lamp Another lamp in the room id thing_id title readOnly writeOnly 4711-p1 12345-WoTLamp-1234 status false false id thing_id title safe idempodent 4711-a1 12345-WoTLamp-1234 toggle false false id thing_id title readOnly writeOnly 4711-e1 12345-WoTLamp-1234 overheating false false Thing Property Action Event { "id": "123456-WoTLamp-1234", "title": "My Lamp", "description": "A lamp in the room", "properties": { "status": { "type": "string", "readOnly" : false, "writeOnly" : false } }, "actions": { "toggle": { "safe": false, "idempodent": false } }, "events": { "overheating": { "data": { "type": "string", "readOnly" : false, "writeOnly" : false } } } } Relational Example Flexible Document Model
  • 7. Telediagnostics: The Future of Mercedes Benz Services Learn more about the project in Madalin Broscaru’s MongoDB.live presentation: Telediagnostics@Mercedes Benz powered by MongoDB https://www.youtube.com/watch?v=MEH9_P_NATk&list=PL4RCxklHWZ9uRUB9qTnZE9cauOsTGE22n&index=50 … the Vehicle Data Conditioning (VDC) where these technical vehicle events are processed … CAC Retail Customer … and the follow-up processes are triggered with real-time recommendations for actions. Vehicles are transmitting regularly status and health data into ... Aggregated Quality Analysis
  • 8. Telediagnostics: The Future of Mercedes Benz Services { ............. "schema": "3.1.0" "createdAt": {..}, ............. "vehicleIdentData": { "chassisNumber": "WDD24708A5432J63", "countryCode": "4f3490b14e238a5f", "modelSeries": "f16ad22d42064811", "modelType": "2196868af1c70d74", "modelYear": "5e01ac15d73c3e4a", "steering": "4a3424fe6411461c" }, "basicData": { "mileage": {..}, "batteries": [..], "tanks": [..], "tiresPressure": [..], }, "controlUnits": [..], "affectedFunctions": [..], "vehicleClusterMessagesData": [..], "maintenanceData": {...}, .............. } "controlUnits": [ { "ecuId": {..} "name": "a927e49b0549f00f71", "detailsHardware": {}, "detailsSoftware": {}, "dtc": [ { "code": "B214F73", ... "failureText": "81957650ea", "environmentalData": {...} }, ... ] }, ... ] More presentations available: https://www.mongodb.com/world
  • 9. Self-hosted MongoDB Turn-key modern database You install, patch, maintain, scale, etc.. MongoDB as a service plus a whole lot more… MongoDB & MongoDB Atlas
  • 11. Kafka Connect Connect Connect https://hub.confluent.io [sources ] [sinks] ANY e.g. file systems, data stores, REST endpoints, … Kafka Connect is an easy way to get data from many heterogeneous platforms into and out of Kafka
  • 12. Available on the Confluent Hub: https://www.confluent.io/hub/mongodb/kafka-connect-mongodb MongoDB Connector for Apache Kafka Supported by MongoDB Verified Gold by
  • 13. #MDBLocal MongoDB Source MongoDB Database MongoDB Connector topicA topicB topicC Kafka Cluster Subscribes to Change Stream events Writes to Kafka Topic(s) When MongoDB is a Kafka Source... Subscribes to change stream events and writes to Kafka topic(s)
  • 14. #MDBLocal MongoDB Source: Writing to a Topic Writes to topic based on database and collection name Be aware of your message sizes Optionally specify pipeline to manage change stream output to watch Optionally set a topic.prefix in the connector configuration database collection {} [topic.prefix].database-name.collection-name writes to topic -> connector pipeline[] change stream
  • 15. #MDBLocal MongoDB Sink MongoDB Database MongoDB Connector topicA topicB topicC Kafka Cluster Writes documents to db collection Reads from Kafka Topic(s) When MongoDB is a Kafka Sink... Reads from Kafka topic(s) and writes documents to collection
  • 16. #MDBLocal MongoDB Sink: Reading Messages from Topic Reads messages from topic (based on pointer to message in topic) Writes message into MongoDB database collection Moves pointer to next message based on write to database Kafka Topic connector database collection {} 1: pointer to message to read 3: on successful write, moves pointer to next
  • 17. MongoDB Connector Configuring the connector as a source and sink Aging data out to cost-effective cloud storage with Atlas Online Archive
  • 18. MongoDB Atlas Connector in Confluent Cloud!
  • 19. Two Ways to Stream 1919 SELF-MANAGED SOFTWARE Confluent Platform The Enterprise Distribution of Apache Kafka Deploy on any platform, on-prem or cloud VM FULLY-MANAGED SOFTWARE Confluent Cloud Apache Kafka Re-Engineered for the Cloud Available on the leading public clouds Option to purchase via GCP marketplace Both: Subscription products where price scales with usage
  • 20. Confluent Cloud MongoDB Atlas Connector
  • 21. Preview Limitations Source • MongoDB Atlas only. • Public access (0.0.0.0/0) must be allowed by Atlas. • Output of this connector is String. • 1 task / connector limitation • Pipeline parameter not available Sink ● MongoDB Atlas only. ● The MongoDB Atlas and Kafka cluster must be in the same region. ● Public access (0.0.0.0/0) must be allowed by Atlas. ● 1 task / connector limitation NOTE: These preview limitations only apply to the MongoDB Atlas connector in the Confluent Cloud. The MongoDB Connector for Apache Kafka can be used in a self-hosted environment with MongoDB Atlas without these network restrictions.
  • 22. Using MongoDB Atlas with Confluent Cloud
  • 23. Want to Know More? https://www.confluent.io/resources/confluent-platform-reference-architecture-mongodb/
  • 24. Making your life easier Wrap Up Document Model and MQL The fastest way to innovate MongoDB Connector for Apache Kafka Gold Certified - Available on Confluent Cloud! MongoDB Atlas: More than a database - a data platform
  • 25. Thank you That’s all folks Robert Walters | Robert.Walters@MongoDB.com | MongoDB