当前位置:网站首页>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 .
边栏推荐
- Present pod information to the container through environment variables
- Le Cluster kubernets en cours d'exécution veut ajuster l'adresse du segment réseau du pod
- Two week selection of tdengine community issues | phase II
- Various uses of vim are very practical. I learned and summarized them in my work
- SwiftUI Swift 内功之如何在 Swift 中进行自动三角函数计算
- Swiftui swift internal skill how to perform automatic trigonometric function calculation in swift
- STM32 entry development write DS18B20 temperature sensor driver (read ambient temperature, support cascade)
- [Yugong series] go teaching course 005 variables in July 2022
- [shortest circuit] acwing 1127 Sweet butter (heap optimized dijsktra or SPFA)
- 从工具升级为解决方案,有赞的新站位指向新价值
猜你喜欢

Mastering the new functions of swiftui 4 weatherkit and swift charts

Test the foundation of development, and teach you to prepare for a fully functional web platform environment

聊聊SOC启动(九) 为uboot 添加新的board

Le Cluster kubernets en cours d'exécution veut ajuster l'adresse du segment réseau du pod

Flet教程之 19 VerticalDivider 分隔符组件 基础入门(教程含源码)

HCIA复习整理

. Net Maui performance improvement
![[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]](/img/65/bf1d0f82878a49041e8c2b3a84bc15.png)
[texture feature extraction] LBP image texture feature extraction based on MATLAB local binary mode [including Matlab source code 1931]

一度辍学的数学差生,获得今年菲尔兹奖

【全栈计划 —— 编程语言之C#】基础入门知识一文懂
随机推荐
The road to success in R & D efficiency of 1000 person Internet companies
【全栈计划 —— 编程语言之C#】基础入门知识一文懂
Solve the problem that vscode can only open two tabs
Design intelligent weighing system based on Huawei cloud IOT (STM32)
[shortest circuit] acwing 1127 Sweet butter (heap optimized dijsktra or SPFA)
5V串口接3.3V单片机串口怎么搞?
聊聊SOC启动(九) 为uboot 添加新的board
In my limited software testing experience, a full-time summary of automation testing experience
Talk about SOC startup (x) kernel startup pilot knowledge
[data clustering] realize data clustering analysis based on multiverse optimization DBSCAN with matlab code
STM32入门开发 NEC红外线协议解码(超低成本无线传输方案)
Use metersphere to keep your testing work efficient
MySQL安装常见报错处理大全
【最短路】ACwing 1127. 香甜的黄油(堆优化的dijsktra或spfa)
【滤波跟踪】捷联惯导纯惯导解算matlab实现
R language Visual facet chart, hypothesis test, multivariable grouping t-test, visual multivariable grouping faceting boxplot, and add significance levels and jitter points
聊聊SOC启动(十一) 内核初始化
聊聊SOC启动(六)uboot启动流程二
Excel公式知多少?
Use references