SlideShare a Scribd company logo
The MySQL Availability Company
Tungsten Replicator Master Class
Advanced: Working with MongoDB and Kafka
Chris Parker, Customer Success Director, EMEA & APAC
Topics
In this short course, we will
• Review replicator flow
• Explore MongoDB and Kafka specific pre-requisites
• Review configurations
• Demo
Replicator Flow
How MongoDB Replication Works
THL THL
Source Replicator:
Extractor
Target Replicator:
Applier
THL = Events + Metadata
DBMS
logs
Download transactions via
network
Mongo
Applier
Lib
Extractor
Options
MySQL Binary Logging
2 1
How Kafka Replication Works
THL THL
Source Replicator:
Extractor
Target Replicator:
Applier
THL = Events + Metadata
DBMS
logs
Download transactions
via network
Kafka Applier
(Native)Extractor
Options
MySQL Binary Logging
2 1
Zookeeper
What Tungsten Replicator Does to Apply into Kafka
• Takes an incoming row and converts it to a message
• Message consists of metadata:
• Schema name, table name
• Sequence number
• Commit timestamp
• Operation Type
• Embedded Message Content
Object Mapping
• Mongo
• MySQL Database à Database
• Table à Collection
• Row à Document
• Kafka
• MySQL Schema & Table à Topic (schemaname_tablename)
• Row à Message
Prerequisites
• Review online documentation
• https://docs.continuent.com
• Download the Prerequisite Checklist
• Extractor/Applier Hosts
• OS User
• /etc/hosts
• sudoers
• Ruby
• Java
• Network
• Review Port Requirements
• MySQL
• my.cnf settings
• User accounts
• MongoDB
• User Account
• If using Atlas, export certificates
• Add replicator to Atlas Whitelist
• Kafka
• Configure zookeeper
Extractor Config
[defaults]
user=tungsten
install-directory=/opt/continuent
mysql-allow-intensive-checks=true
profile-script=~/.bash_profile
disable-security-controls=true
[alpha]
master=tr-ext-2
members=tr-ext-2
replication-user=tungsten
replication-password=secret
replication-port=3306
enable-heterogeneous-service=true
Applier Configs
[defaults]
user=tungsten
install-directory=/opt/continuent
profile-script=~/.bash_profile
disable-security-controls=false
rmi-ssl=false
thl-ssl=false
rmi-authentication=false
[alpha]
master=tr-ext-2
members=tr-app-1
datasource-type=mongodb
replication-user=dbadmin
replication-password=Secret123
replication-port=27017
svc-applier-filters=dropstatementdata
replication-host=atlasendpoint.mongodb.net
property=replicator.applier.dbms.connectString=mongodb+srv://$
{replicator.global.db.user}:${replicator.global.db.password}@$
{replicator.global.db.host}/?retryWrites=true&w=majority
[defaults]
user=tungsten
install-directory=/opt/continuent
profile-script=~/.bash_profile
disable-security-controls=true
[alpha]
master=tr-ext-2
members=tr-app-1
datasource-type=mongodb
replication-user=dbadmin
replication-password=Secret123
replication-port=27017
svc-applier-filters=dropstatementdata
MongoDB AtlasMongoDB
Applier Configs
[defaults]
user=tungsten
install-directory=/opt/continuent
profile-script=~/.bash_profile
disable-security-controls=true
[alpha]
master=tr-ext-2
members=tr-app-1
datasource-type=kafka
replication-user=root
replication-password=null
replication-port=9092
property=replicator.applier.dbms.zookeeperString=localhost:2181
property=replicator.applier.dbms.requireacks=1
Kafka
Demonstration
Summary
What we have learnt today
• Reviewed replicator flow
• Explored Kafka and Mongo specific pre-requisites
• Reviewed configurations
Congratulations!
• Thank you for following the Tungsten Replicator Master Class!
• Make sure you complete all the tests to receive your digital certificate!
• Re-watch all the training videos as many times as you want!
• How did we do?
• We’d love to hear your feedback (The good and the bad!)
• Email: customer.success@continuent.com
• Any topics we didn’t cover? Let us know!
THANK YOU FOR LISTENING
continuent.com
The MySQL Availability Company
Chris Parker, Customer Success Director, EMEA & APAC

More Related Content

What's hot (20)

PDF
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
StreamNative
 
ODP
Stream processing using Kafka
Knoldus Inc.
 
PDF
RGW S3: Features vs deep compatibility - Robin Johnson
Ceph Community
 
PDF
Serverless Event Streaming with Pulsar Functions
StreamNative
 
PDF
Event stream processing using Kafka streams
Fredrik Vraalsen
 
PDF
Deep dive into Apache Kafka consumption
Alexandre Tamborrino
 
PDF
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
HostedbyConfluent
 
PDF
kafka
Ariel Moskovich
 
PDF
Improving Logging Ingestion Quality At Pinterest: Fighting Data Corruption An...
HostedbyConfluent
 
PDF
Flink Forward Berlin 2017: Piotr Wawrzyniak - Extending Apache Flink stream p...
Flink Forward
 
PPTX
Exactly-once Stream Processing with Kafka Streams
Guozhang Wang
 
PDF
Using Apache Pulsar as a Modern, Scalable, High Performing JMS Platform - Pus...
StreamNative
 
PDF
Building Scalable and Extendable Data Pipeline for Call of Duty Games (Yarosl...
confluent
 
PPTX
Pulsar in the Lakehouse: Overview of Apache Pulsar and Delta Lake Connector -...
StreamNative
 
PDF
Apache Pulsar at Yahoo! Japan
StreamNative
 
PPT
File System On Steroids
Jukka Zitting
 
PDF
Kafka meetup - kafka connect
Yi Zhang
 
PPTX
Capture the Streams of Database Changes
confluent
 
PPTX
Eron Wright - Flink Security Enhancements
Flink Forward
 
PDF
Real Time Streaming Data with Kafka and TensorFlow (Yong Tang, MobileIron) Ka...
confluent
 
Apache Pulsar with MQTT for Edge Computing - Pulsar Summit Asia 2021
StreamNative
 
Stream processing using Kafka
Knoldus Inc.
 
RGW S3: Features vs deep compatibility - Robin Johnson
Ceph Community
 
Serverless Event Streaming with Pulsar Functions
StreamNative
 
Event stream processing using Kafka streams
Fredrik Vraalsen
 
Deep dive into Apache Kafka consumption
Alexandre Tamborrino
 
Tradeoffs in Distributed Systems Design: Is Kafka The Best? (Ben Stopford and...
HostedbyConfluent
 
Improving Logging Ingestion Quality At Pinterest: Fighting Data Corruption An...
HostedbyConfluent
 
Flink Forward Berlin 2017: Piotr Wawrzyniak - Extending Apache Flink stream p...
Flink Forward
 
Exactly-once Stream Processing with Kafka Streams
Guozhang Wang
 
Using Apache Pulsar as a Modern, Scalable, High Performing JMS Platform - Pus...
StreamNative
 
Building Scalable and Extendable Data Pipeline for Call of Duty Games (Yarosl...
confluent
 
Pulsar in the Lakehouse: Overview of Apache Pulsar and Delta Lake Connector -...
StreamNative
 
Apache Pulsar at Yahoo! Japan
StreamNative
 
File System On Steroids
Jukka Zitting
 
Kafka meetup - kafka connect
Yi Zhang
 
Capture the Streams of Database Changes
confluent
 
Eron Wright - Flink Security Enhancements
Flink Forward
 
Real Time Streaming Data with Kafka and TensorFlow (Yong Tang, MobileIron) Ka...
confluent
 

Similar to Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka (20)

PDF
Training Slides: Basics 103: The Power of Tungsten Connector / Proxy
Continuent
 
PPTX
Web Analytics using Kafka - August talk w/ Women Who Code
Purnima Kamath
 
PDF
Rackspace: Email's Solution for Indexing 50K Documents per Second: Presented ...
Lucidworks
 
PDF
Apache Kafka - Scalable Message-Processing and more !
Guido Schmutz
 
PPTX
Monitoring MongoDB’s Engines in the Wild
Tim Vaillancourt
 
PDF
Spark DataFrames and ML Pipelines
Databricks
 
PPTX
Fundamentals and Architecture of Apache Kafka
Angelo Cesaro
 
PPTX
OrigoDB - take the red pill
Robert Friberg
 
PDF
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
PPTX
Meetup#2: Building responsive Symbology & Suggest WebService
Minsk MongoDB User Group
 
PDF
Performance Tuning RocksDB for Kafka Streams’ State Stores
confluent
 
PPTX
Envoy and Kafka
Adam Kotwasinski
 
PDF
Consensus in Apache Kafka: From Theory to Production.pdf
Guozhang Wang
 
PPTX
Real time data pipline with kafka streams
Yoni Farin
 
PPTX
Distributed Kafka Architecture Taboola Scale
Apache Kafka TLV
 
PDF
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
 
PDF
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
 
PDF
Capital One Delivers Risk Insights in Real Time with Stream Processing
confluent
 
PPTX
CLI, HTTP, GenAI and MCP telemetry/observability in Java
Pavel Vlasov
 
PPTX
Take Kafka-on-Pulsar to Production at Internet Scale: Improvements Made for P...
StreamNative
 
Training Slides: Basics 103: The Power of Tungsten Connector / Proxy
Continuent
 
Web Analytics using Kafka - August talk w/ Women Who Code
Purnima Kamath
 
Rackspace: Email's Solution for Indexing 50K Documents per Second: Presented ...
Lucidworks
 
Apache Kafka - Scalable Message-Processing and more !
Guido Schmutz
 
Monitoring MongoDB’s Engines in the Wild
Tim Vaillancourt
 
Spark DataFrames and ML Pipelines
Databricks
 
Fundamentals and Architecture of Apache Kafka
Angelo Cesaro
 
OrigoDB - take the red pill
Robert Friberg
 
Performance Tuning RocksDB for Kafka Streams' State Stores (Dhruba Borthakur,...
confluent
 
Meetup#2: Building responsive Symbology & Suggest WebService
Minsk MongoDB User Group
 
Performance Tuning RocksDB for Kafka Streams’ State Stores
confluent
 
Envoy and Kafka
Adam Kotwasinski
 
Consensus in Apache Kafka: From Theory to Production.pdf
Guozhang Wang
 
Real time data pipline with kafka streams
Yoni Farin
 
Distributed Kafka Architecture Taboola Scale
Apache Kafka TLV
 
OSMC 2016 | Monitor your Infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
 
OSMC 2016 - Monitor your infrastructure with Elastic Beats by Monica Sarbu
NETWAYS
 
Capital One Delivers Risk Insights in Real Time with Stream Processing
confluent
 
CLI, HTTP, GenAI and MCP telemetry/observability in Java
Pavel Vlasov
 
Take Kafka-on-Pulsar to Production at Internet Scale: Improvements Made for P...
StreamNative
 
Ad

More from Continuent (20)

PDF
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Continuent
 
PDF
Continuent Tungsten Value Proposition Webinar
Continuent
 
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Continuent
 
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Continuent
 
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Continuent
 
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Continuent
 
PDF
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Continuent
 
PDF
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Continuent
 
PDF
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Continuent
 
PDF
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Continuent
 
PPTX
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Continuent
 
PDF
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
Continuent
 
PDF
Training Slides: 351 - Tungsten Replicator for Data Warehouses
Continuent
 
PDF
Training Slides: 303 - Replicating out of a Cluster
Continuent
 
PDF
Training Slides: 206 - Using the Tungsten Cluster AMI
Continuent
 
PDF
Training Slides: 254 - Using the Tungsten Replicator AMI
Continuent
 
PDF
Training Slides: 253 - Filter like a Pro
Continuent
 
PDF
Training Slides: 252 - Monitoring & Troubleshooting
Continuent
 
PDF
Training Slides: 302 - Securing Your Cluster With SSL
Continuent
 
PDF
Webinar Slides: Global MySQL Availability: SaaS Cloud Contact Center Secures ...
Continuent
 
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Continuent
 
Continuent Tungsten Value Proposition Webinar
Continuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Continuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #5: Oracle’s InnoDB Cluster
Continuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #4: MS Azure Database MySQL
Continuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #2: Galera Cluster
Continuent
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #1: AWS Aurora
Continuent
 
Webinar Slides: AWS Aurora MySQL Replacement: Break Away From Geo-Limitations...
Continuent
 
Webinar Slides: No Data Loss MySQL: Guaranteed Credit Card Transaction Availa...
Continuent
 
Webinar Slides: Intelligent Database Proxies: Routing & Transparent Failover
Continuent
 
Webinar Slides: High Volume MySQL HA: SaaS Continuous Operations with Terabyt...
Continuent
 
Training Slides: 205 - Installing and Configuring Tungsten Dashboard
Continuent
 
Training Slides: 351 - Tungsten Replicator for Data Warehouses
Continuent
 
Training Slides: 303 - Replicating out of a Cluster
Continuent
 
Training Slides: 206 - Using the Tungsten Cluster AMI
Continuent
 
Training Slides: 254 - Using the Tungsten Replicator AMI
Continuent
 
Training Slides: 253 - Filter like a Pro
Continuent
 
Training Slides: 252 - Monitoring & Troubleshooting
Continuent
 
Training Slides: 302 - Securing Your Cluster With SSL
Continuent
 
Webinar Slides: Global MySQL Availability: SaaS Cloud Contact Center Secures ...
Continuent
 
Ad

Recently uploaded (20)

PDF
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
PDF
How to Fix Error Code 16 in Adobe Photoshop A Step-by-Step Guide.pdf
Becky Lean
 
PPTX
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
PPT
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
PDF
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
 
PDF
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
PDF
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
PDF
The Complete Guide to Chrome Net Internals DNS – 2025
Orage Technologies
 
PPTX
Template Timeplan & Roadmap Product.pptx
ImeldaYulistya
 
PPTX
Simplifying and CounFounding in egime.pptx
Ryanto10
 
PDF
The Power and Impact of Promotion most useful
RajaBilal42
 
PDF
DevOps Design for different deployment options
henrymails
 
PPTX
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
PPTX
Presentation on Social Media1111111.pptx
tanamlimbu
 
PPTX
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
 
PPTX
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
PPT
introductio to computers by arthur janry
RamananMuthukrishnan
 
PPTX
sajflsajfljsdfljslfjslfsdfas;fdsfksadfjlsdflkjslgfs;lfjlsajfl;sajfasfd.pptx
theknightme
 
PDF
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
PPTX
Random Presentation By Fuhran Khalil uio
maniieiish
 
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
How to Fix Error Code 16 in Adobe Photoshop A Step-by-Step Guide.pdf
Becky Lean
 
Optimization_Techniques_ML_Presentation.pptx
farispalayi
 
Computer Securityyyyyyyy - Chapter 2.ppt
SolomonSB
 
Web Hosting for Shopify WooCommerce etc.
Harry_Phoneix Harry_Phoneix
 
The-Hidden-Dangers-of-Skipping-Penetration-Testing.pdf.pdf
naksh4thra
 
AI_MOD_1.pdf artificial intelligence notes
shreyarrce
 
The Complete Guide to Chrome Net Internals DNS – 2025
Orage Technologies
 
Template Timeplan & Roadmap Product.pptx
ImeldaYulistya
 
Simplifying and CounFounding in egime.pptx
Ryanto10
 
The Power and Impact of Promotion most useful
RajaBilal42
 
DevOps Design for different deployment options
henrymails
 
原版西班牙莱昂大学毕业证(León毕业证书)如何办理
Taqyea
 
Presentation on Social Media1111111.pptx
tanamlimbu
 
Research Design - Report on seminar in thesis writing. PPTX
arvielobos1
 
ONLINE BIRTH CERTIFICATE APPLICATION SYSYTEM PPT.pptx
ShyamasreeDutta
 
introductio to computers by arthur janry
RamananMuthukrishnan
 
sajflsajfljsdfljslfjslfsdfas;fdsfksadfjlsdflkjslgfs;lfjlsajfl;sajfasfd.pptx
theknightme
 
𝐁𝐔𝐊𝐓𝐈 𝐊𝐄𝐌𝐄𝐍𝐀𝐍𝐆𝐀𝐍 𝐊𝐈𝐏𝐄𝐑𝟒𝐃 𝐇𝐀𝐑𝐈 𝐈𝐍𝐈 𝟐𝟎𝟐𝟓
hokimamad0
 
Random Presentation By Fuhran Khalil uio
maniieiish
 

Training Slides: 352 - Tungsten Replicator for MongoDB & Kafka