当前位置:网站首页>Detailed explanation of debezium architecture of debezium synchronization
Detailed explanation of debezium architecture of debezium synchronization
2022-07-07 11:55:00 【Auspicious flight】
The most common is , You pass Apache Kafka Connect Deploy Debezium .Kafka Connect Is a framework and runtime for implementation and operation :
Send the record to Kafka Source connector for , for example Debezium
Record from Kafka The subject propagates to the receiver connector of other systems
The following figure shows a view based on Debezium Change the architecture of the data capture pipeline :
As shown in the figure , Deployed for MySQL and PostgresSQL Of Debezium Connector to capture changes to these two types of databases . Every Debezium Connectors establish connections to their source databases :
MySQL The connector uses the client library to access
binlog
.PostgreSQL The connector reads from the logical copy stream .
Kafka Connect As Kafka Separate services other than agents run .
By default , Changes from a database table will be written to Kafka The theme . if necessary , You can configure Debezium Of Topic routing conversion To adjust the target topic name . for example , You can :
Route records to topics with names different from table names
Streaming change event records from multiple tables to a single topic
The change event is recorded in Apache Kafka In the after ,Kafka Connect Different connectors in the ecosystem can stream records to other systems and databases , for example Elasticsearch、 Data warehouse and analysis system , or Infinispan Equal cache . According to the selected receiver connector , You may need to configure Debezium Of New record status extraction transformation . this Kafka Connect SMT take after
Structure from Debezium The change event of is propagated to the receiver connector . This replaces the detailed change event logging of the default propagation .
Debezium The server
Deploy Debezium Another way to do this is to use Debezium The server .Debezium The server is a configurable 、 Ready to use applications , It streams change events from the source database to various messaging infrastructures .
The following figure shows using the Debezium The architecture of the server's change data capture pipeline :
Debezium The server is configured to use Debezium One of the source connectors captures changes from the source database . Change events can be serialized into different formats , Such as JSON or Apache Avro, It will then be sent to one of the various messaging infrastructures , Such as Amazon Kinesis、Google Cloud Pub/Sub or Apache Pulsar.
Embedded engine
However , Use Debezium Another method of connector is Embedded engine . under these circumstances ,Debezium Will not pass Kafka Connect function , But as embedded into your customization Java Libraries in applications . This is important for using change events in the application itself ( No need to deploy full Kafka and Kafka Connect colony ) Or stream changes to Amazon Kinesis And other alternative messaging agents are very useful . You can find the latter in the sample repository Example .
边栏推荐
- Common SQL statement collation: MySQL
- Flet教程之 14 ListTile 基础入门(教程含源码)
- Talk about SOC startup (11) kernel initialization
- Enclosed please find. Net Maui's latest learning resources
- Visual Studio 2019 (LocalDB)\MSSQLLocalDB SQL Server 2014 数据库版本为852无法打开,此服务器支持782版及更低版本
- Summed up 200 Classic machine learning interview questions (with reference answers)
- Design intelligent weighing system based on Huawei cloud IOT (STM32)
- Onedns helps college industry network security
- How to connect 5V serial port to 3.3V MCU serial port?
- STM32入门开发 编写DS18B20温度传感器驱动(读取环境温度、支持级联)
猜你喜欢
超标量处理器设计 姚永斌 第9章 指令执行 摘录
[filter tracking] strapdown inertial navigation pure inertial navigation solution matlab implementation
Technology sharing | packet capturing analysis TCP protocol
About how to install mysql8.0 on the cloud server (Tencent cloud here) and enable local remote connection
NPC Jincang was invited to participate in the "aerospace 706" I have an appointment with aerospace computer "national Partner Conference
千人規模互聯網公司研發效能成功之路
Zhou Yajin, a top safety scholar of Zhejiang University, is a curiosity driven activist
【纹理特征提取】基于matlab局部二值模式LBP图像纹理特征提取【含Matlab源码 1931期】
Camera calibration (1): basic principles of monocular camera calibration and Zhang Zhengyou calibration
Rationaldmis2022 advanced programming macro program
随机推荐
【系统设计】指标监控和告警系统
Enclosed please find. Net Maui's latest learning resources
[Yugong series] go teaching course 005 variables in July 2022
VIM command mode and input mode switching
Test the foundation of development, and teach you to prepare for a fully functional web platform environment
electron 添加 SQLite 数据库
Fleet tutorial 19 introduction to verticaldivider separator component Foundation (tutorial includes source code)
Stm32f1 and stm32subeide programming example -max7219 drives 8-bit 7-segment nixie tube (based on SPI)
相机标定(1): 单目相机标定及张正友标定基本原理
一起探索云服务之云数据库
Flet教程之 19 VerticalDivider 分隔符组件 基础入门(教程含源码)
Flet教程之 18 Divider 分隔符组件 基础入门(教程含源码)
When sink is consumed in mysql, the self incrementing primary key has been set in the database table. How to operate in Flink?
Talk about SOC startup (IX) adding a new board to uboot
竟然有一半的人不知道 for 与 foreach 的区别???
Swiftui tutorial how to realize automatic scrolling function in 2 seconds
Half of the people don't know the difference between for and foreach???
从工具升级为解决方案,有赞的新站位指向新价值
STM32入门开发 采用IIC硬件时序读写AT24C08(EEPROM)
千人规模互联网公司研发效能成功之路