Former-commit-id: 98a5b85745805470e3b25b3a395ee10c6d27c010 Former-commit-id: 0df7418d08c46f8e78d520cd79c89e56b86b17d61.0
parent
eccec6922a
commit
4fc6796af2
@ -1,3 +1,7 @@
|
||||
#!/bin/bash
|
||||
echo 'init connectors start:'
|
||||
echo 'mysql2kafka'
|
||||
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @mysql2kafka.json
|
||||
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @kafka2elasticsearch.json
|
||||
echo 'kafka2elasticsearch'
|
||||
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @kafka2elasticsearch.json
|
||||
echo 'init connectors end!'
|
Loading…
Reference in new issue