Debezium实战-第1章 开始

1 开始

1.1 Debezium简介

Debezium 是一个开源项目,为捕获变更数据(CDC) 提供低延迟的数据流平台。您设置并配置 Debezium 以监控您的数据库,然后您的应用程序就可以使用这些对数据库进行的每个行级更改的事件。只有已提交的更改是可见的,因此您的应用程序不必担心回滚的事务或更改。Debezium 提供所有更改事件的单一模型,因此您的应用程序不必担心每种数据库管理系统的复杂性。此外,由于 Debezium 在持久、复制的日志中记录数据更改的历史记录,因此您的应用程序可以随时停止和重新启动,并且可以使用它在未运行时错过的所有事件。

监控数据库并在数据更改时收到通知一直很复杂。关系数据库触发器可能很有用,但特定于每个数据库,并且通常仅限于更新同一数据库内的状态(不与外部进程通信)。一些数据库提供 API 或框架来监视更改,但没有标准,因此每个数据库的方法都不同,并且需要大量知识丰富的专业代码。确保以相同的顺序查看和处理所有更改,同时对数据库的影响最小,仍然非常具有挑战性。

Debezium 提供了为您完成这项工作的模块。一些模块是通用的,可与多个数据库管理系统一起使用,但在功能和性能方面也有一些限制。其他模块是为特定的数据库管理系统量身定制的,因此它们的功能通常要强大得多,并且可以利用系统的特定功能。

1.2 Debezium架构

最常见的方式是通过 Apache Kafka Connect来部署Debezium。Kafka Connect是一个用于实现和操作的框架和运行时(下一小节有详细介绍),通常包以下两部份:

  • 将记录发送到Kaf

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
Debezium Connector for Oracle is a software tool that provides continuous data streaming and change data capture (CDC) capabilities for Oracle databases. It allows users to capture changes to the data in real-time and convert them into a stream of events that can be consumed by other applications, such as Apache Kafka. The Debezium Connector for Oracle uses Oracle's LogMiner technology to read the database's transaction logs and capture changes as they occur. It supports both on-premises and cloud-based Oracle databases and can be configured to capture changes to specific tables or entire databases. Some of the benefits of using the Debezium Connector for Oracle include: - Real-time data streaming: The connector captures changes to data in real-time, allowing other applications to consume the data as soon as it's available. - Reduced data integration complexity: With the Debezium Connector, users can easily integrate data from Oracle databases into other applications without the need for complex ETL processes. - Improved data accuracy: By capturing changes to data as they occur, the connector ensures that the data being consumed by other applications is always up-to-date and accurate. - Lower latency and improved performance: Because the connector captures changes in real-time, it eliminates the need for expensive polling and reduces the latency of data delivery. - High availability and scalability: The connector is designed to be highly available and scalable, making it suitable for use in large-scale enterprise environments.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

onemy

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值