简体   繁体   English

如何为在 Docker 中为 MSSQL Server 运行的 Kafka 设置 Debezium

[英]How to setup Debezium for Kafka running in Docker for MSSQL Server

I am new to Debezium, Kafka, and Docker.我是 Debezium、Kafka 和 Docker 的新手。 I have successfully installed Docker and it is running on my locahost.我已经成功安装了 Docker 并且它正在我的本地主机上运行。

I am attempting to go through the Debezium tutorial at: https://github.com/debezium/debezium-examples/blob/master/tutorial/README.md#debezium-tutorial我正在尝试通过 Debezium 教程 go: https://github.com/debezium/debezium-examples/blob/master/tutorial/README.md#debezium-tutorial

I went to the section for SQL Server: and the first step says to # Start the topology as defined in https://debezium.io/docs/tutorial/ .我去了 SQL 服务器部分:第一步说# Start the topology as defined in https://debezium.io/docs/tutorial/ I successfully ran through that tutorial.我成功地完成了那个教程。 But, it is for MySQL and not MSSQL Server.但是,它适用于 MySQL 而不是 MSSQL Server。 Anyways, I went back to the ../debezium-tutorial and the first line tells me to run:无论如何,我回到../debezium-tutorial并且第一行告诉我运行:

export DEBEZIUM_VERSION=1.1
docker-compose -f docker-compose-sqlserver.yaml up

The tutorial does not discuss how to create the docker-compose-sqlserver.yaml .本教程不讨论如何创建docker-compose-sqlserver.yaml I checked Debezium's github site for this file and it is not there.我在 Debezium 的 github 站点上查看了这个文件,但它不存在。 Am I supposed to create this file manually or am I missing something in the steps?我应该手动创建这个文件还是我在步骤中遗漏了什么?

In order to get Debezium to work, am I supposed to create and run a SQL Server instance in Docker, or can I use the instance that is running on my localhost?为了让 Debezium 工作,我应该在 Docker 中创建并运行 SQL 服务器实例,还是可以使用在我的本地主机上运行的实例?

The Docker Compose is included in the tutorials repository. Docker Compose 包含在教程存储库中。

git clone https://github.com/debezium/debezium-examples.git
cd debezium-examples/tutorial
export DEBEZIUM_VERSION=1.1
docker-compose -f docker-compose-sqlserver.yaml up

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何连接在 Docker 容器内运行的 MSSQL 服务器? - How to connect on MSSQL server running inside a Docker container? Debezium:无法在 Kafka-Connect Docker 容器上设置观察程序。 获取关联 ID 为 2 的元数据时出错……LEADER_NOT_AVAILABLE - Debezium: Unable to setup watcher on Kafka-Connect Docker container. Error while fetching metadata with correlation id 2 … LEADER_NOT_AVAILABLE 在 sql 服务器 2019 中设置 cdc 并注册 debezium sql 服务器连接器后运行 kafka consumer 时无法生成任何日志 - Can't produce any logs when run kafka consumer after setup cdc in sql server 2019 and register debezium sql server connector SQL 服务器连接失败 - Debezium - Kafka Connect - SQL Server Connection Failure - Debezium - Kafka Connect SQL 服务器 CDC - Debezium Kafka 特定日期的快照 - SQL Server CDC - Snapshot from specific date for Debezium Kafka 如何在 Python Docker 映像中安装 MSSQL Server? - How can I install MSSQL Server in a Python Docker image? Kafka Connect到MSSQL Server十进制转换 - Kafka Connect to MSSQL Server Decimal conversion 如何判断 Debezium 是否对 Kafka 的 stream 有任何未流式更改? - How to tell if Debezium has any unstreamed changes to stream to Kafka? 如何使用 Debezium 从 MS SQL 将 250 个表摄取到 Kafka - How to ingest 250 tables into Kafka from MS SQL with Debezium 如何从运行在 ubuntu 上的 MSSQL 服务器连接到 MySQL? - How to connect from MSSQL server running on ubuntu to MySQL?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM