当前位置:网站首页>Debezium同步之Debezium架构详解
Debezium同步之Debezium架构详解
2022-07-07 09:06:00 【auspicious航】
最常见的是,您通过 Apache Kafka Connect部署 Debezium 。Kafka Connect 是一个用于实现和操作的框架和运行时:
将记录发送到 Kafka 的源连接器,例如 Debezium
将记录从 Kafka 主题传播到其他系统的接收器连接器
下图显示了基于 Debezium 的变更数据捕获管道的架构:
如图所示,部署了用于 MySQL 和 PostgresSQL 的 Debezium 连接器来捕获对这两种类型的数据库的更改。每个 Debezium 连接器都建立到其源数据库的连接:
MySQL 连接器使用客户端库来访问
binlog
.PostgreSQL 连接器从逻辑复制流中读取。
Kafka Connect 作为 Kafka 代理之外的单独服务运行。
默认情况下,来自一个数据库表的更改将写入名称与表名对应的 Kafka 主题。如果需要,您可以通过配置 Debezium 的主题路由转换来调整目标主题名称。例如,您可以:
将记录路由到名称与表名不同的主题
将多个表的更改事件记录流式传输到单个主题中
更改事件记录在 Apache Kafka 中后,Kafka Connect 生态系统中的不同连接器可以将记录流式传输到其他系统和数据库,例如 Elasticsearch、数据仓库和分析系统,或 Infinispan 等缓存。根据所选的接收器连接器,您可能需要配置 Debezium 的新记录状态提取转换。此 Kafka Connect SMT 将after
结构从 Debezium 的更改事件传播到接收器连接器。这代替了默认传播的详细更改事件记录。
Debezium 服务器
部署 Debezium 的另一种方法是使用Debezium 服务器。Debezium 服务器是一个可配置的、即用型的应用程序,它将更改事件从源数据库流式传输到各种消息传递基础设施。
下图显示了使用 Debezium 服务器的变更数据捕获管道的架构:
Debezium 服务器配置为使用 Debezium 源连接器之一从源数据库捕获更改。更改事件可以序列化为不同的格式,如 JSON 或 Apache Avro,然后将发送到各种消息传递基础设施之一,如 Amazon Kinesis、Google Cloud Pub/Sub 或 Apache Pulsar。
边栏推荐
- Rolling puddle Uni_ App (VIII)
- Realize ray detection, drag the mouse to move the object and use the pulley to scale the object
- 基于DE2 115开发板驱动HC_SR04超声波测距模块【附源码】
- Ping tool ICMP message learning
- Mpx 插件
- Those confusing concepts (3): function and class
- Antd select selector drop-down box follows the scroll bar to scroll through the solution
- 【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
- China Southern Airlines pa3.1
- Wallhaven壁纸桌面版
猜你喜欢
What are the contents of the intermediate soft test, the software designer test, and the test outline?
China Southern Airlines pa3.1
Wallhaven wallpaper desktop version
【OneNote】无法连接到网络,无法同步问题
IDEA快捷键大全
[actual combat] transformer architecture of the major medical segmentation challenges on the list --nnformer
Mendeley -- a free document management tool that automatically inserts references into papers
How to use cherry pick?
Seata 1.3.0 four modes to solve distributed transactions (at, TCC, Saga, XA)
Transaction rolled back because it has been marked as rollback only
随机推荐
[untitled]
POJ1821 Fence 题解报告
"Dream Cup" 2017 Jiangsu information and future primary school summer camp it expert PK program design questions
[recommendation system 02] deepfm, youtubednn, DSSM, MMOE
[système recommandé 01] rechub
【安装系统】U盘安装系统教程,使用UltraISO制作U盘启动盘
[untitled]
The opacity value becomes 1%
Wallhaven wallpaper desktop version
Unity downloads files through the server address
Template initial level template
From pornographic live broadcast to live broadcast E-commerce
香橙派OrangePi 4 LTS开发板通过Mini PCIE连接SATA硬盘的操作方法
Monai version has been updated to 0.9. See what new functions it has
Interprocess communication (IPC)
基于STC8G1K08的0.96寸IIC液晶屏驱动程序
[pytorch 07] hands on deep learning chapter_ Preliminaries/ndarray exercises hands-on version
Simple and easy to modify spring frame components
Une fois que l'uniapp a sauté de la page dans onlaunch, cliquez sur Event Failure resolution
[untitled]