hi i used this link
its okey but i want create volume for kafka-connect container and add this config to a file because i dont want run this command
curl -X PUT http://localhost:8083/connectors/sink-jdbc-mysql-0501-json/config
-H “Content-Type: application/json” -d ‘{
“connector.class” : “io.confluent.connect.jdbc.JdbcSinkConnector”,
“connection.url” : “jdbc:mysql://mysql:3306/demo”,
“topics” : “mail”,
“key.converter” : “org.apache.kafka.connect.storage.StringConverter”,
“value.converter” : “org.apache.kafka.connect.json.JsonConverter”,
“value.converter.schemas.enable”: “true”,
“connection.user” : “root”,
“connection.password” : “Admin123”,
“auto.create” : true,
“auto.evolve” : true,
“insert.mode” : “insert”
}’
is there any way i put this config to a file ? if yes how?
thank you