查找通过avro将mysql数据库加载到kafka主题中的执行时间

时间:2019-07-03 08:21:45

标签: apache-kafka

如何查找使用avro序列化格式将mysql数据库加载到kafka主题所需的时间?

我使用了此命令-     curl -i -X POST -H "Accept:application/json" \ -H "Content-Type:application/json" http://localhost:8083/connectors/ \ -d '{ "name":"mysql-localhost-avro2-connector-1", "config":{ "connector.class":"io.debezium.connector.mysql.MySqlConnector", "database.user":"debezium", "database.server.id":"42", "database.history.kafka.bootstrap.servers":"localhost:9092", "database.history.kafka.topic":"localhost-avro2-connector.history", "database.server.name":"localhost-avro2-connector", "heartbeat.interval.ms":"10000", "snapshot.delay.ms":"30000", "database.port":"3306", "include.schema.changes":"true", "table.whitelist" : "kafka_test.Product,kafka_test.sales,kafka_test.Persons", "database.hostname":"localhost", "database.password":"dbz", "poll.interval.ms":"30000" } }'

topics and streams

0 个答案:

没有答案