You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
473 B
8 lines
473 B
#!/bin/bash
|
|
echo 'init connectors start:\n'
|
|
echo 'mysql2kafka\n'
|
|
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @mysql2kafka.json
|
|
echo 'kafka2elasticsearch\n'
|
|
curl -i -X POST -H "Accept:application/json" -H "Content-Type:application/json" http://localhost:8083/connectors/ -d @kafka2elasticsearch.json
|
|
echo 'init connectors end!\n
|
|
# curl -X DELETE http://localhost:8083/connectors/elasticsearch-sink' |