[英]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.