在如下我使用的命令中:curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d \
'{
"name": "postgres_connector",
"config": {
"connector.class": "io.debezium.connector.postgresql.PostgresConnector",
"connector.displayName": "PostgreSQL",
"database.user": "debe",
"database.dbname": "postgres",
"connector.id": "postgres",
"database.server.name": "postgres_productor",
"database.port": "15432",
"plugin.name": "pgoutput",
"table.whitelist": "z_series_computer,lpar,sysplex,zos,cics_region,cics_plex,cics_transaction,db2_data_sharing_group,db2_subsystem,db2_database,db2_stored_procedure,mq_subsystem,mq_alias_queue,mq_local_queue,mq_model_queue,mq_remote_queue,ims_subsystem,ims_database,ims_transaction,ims_sysplex_group",
"mode": "incrementing",
"topic.prefix": "postgres",
"database.hostname": "192.168.64.143",
"database.password": "123456",
"name": "postgres_connector"
}
}',我在table.whitelist参数处的语法正确吗,我想要指定多个表,我把我想要的表都写在了一个“”中,并用逗号隔开
最新发布