Linux command
debezium 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Start Debezium server
debezium-server
Run Debezium Server with Docker
docker run -it --name debezium -p 8080:8080 -v $PWD/conf:/debezium/conf debezium/server
Run MySQL connector in Kafka Connect
curl -X POST http://localhost:8083/connectors -H "Content-Type: application/json" -d @[mysql-connector.json]
Check connector status
curl http://localhost:8083/connectors/[connector-name]/status
List running connectors
curl http://localhost:8083/connectors
说明
Debezium is an open-source distributed platform for change data capture (CDC). It monitors databases and produces events for every row-level change, enabling real-time data streaming and synchronization. Debezium connectors read database transaction logs (MySQL binlog, PostgreSQL WAL, etc.) and convert changes to events. These events can be sent to Apache Kafka, Amazon Kinesis, Google Pub/Sub, or other sinks for processing by downstream applications. The platform runs either as Kafka Connect connectors (distributed, scalable) or as Debezium Server (standalone, simpler deployment). It captures inserts, updates, and deletes with before/after values and metadata.
FAQ
What is the debezium command used for?
Debezium is an open-source distributed platform for change data capture (CDC). It monitors databases and produces events for every row-level change, enabling real-time data streaming and synchronization. Debezium connectors read database transaction logs (MySQL binlog, PostgreSQL WAL, etc.) and convert changes to events. These events can be sent to Apache Kafka, Amazon Kinesis, Google Pub/Sub, or other sinks for processing by downstream applications. The platform runs either as Kafka Connect connectors (distributed, scalable) or as Debezium Server (standalone, simpler deployment). It captures inserts, updates, and deletes with before/after values and metadata.
How do I run a basic debezium example?
Run `debezium-server` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more debezium examples?
This page includes 5 examples for debezium, plus related commands for nearby Linux tasks.