blob: 6cff986680e1f571bf149afc7cd20632d56d2ab6 [file] [log] [blame]
{
"connector": {
"class": "org.apache.camel.kafkaconnector.mysqlsink.CamelMysqlsinkSinkConnector",
"artifactId": "camel-mysql-sink-kafka-connector",
"groupId": "org.apache.camel.kafkaconnector",
"id": "camel-mysql-sink-sink",
"type": "sink",
"version": "1.1.0-SNAPSHOT",
"description": "Send data to a MySQL Database.\n\nIn your KameletBinding file you'll need to explicitly declare the SQL Server driver dependency in spec->integration->dependencies\n\n- \"mvn:mysql:mysql-connector-java:<version>\"\n\nThis Kamelet expects a JSON as body. The mapping between the JSON fields and parameters is done by key, so if you have the following query:\n\n'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'\n\nThe Kamelet needs to receive as input something like:\n\n'{ \"username\":\"oscerd\", \"city\":\"Rome\"}'"
},
"properties": {
"camel.kamelet.mysql-sink.serverName": {
"name": "camel.kamelet.mysql-sink.serverName",
"description": "Server Name for the data source Example: localhost",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mysql-sink.serverPort": {
"name": "camel.kamelet.mysql-sink.serverPort",
"description": "Server Port for the data source",
"defaultValue": "\"3306\"",
"priority": "MEDIUM",
"required": "false"
},
"camel.kamelet.mysql-sink.username": {
"name": "camel.kamelet.mysql-sink.username",
"description": "The username to use for accessing a secured MySQL Database",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mysql-sink.password": {
"name": "camel.kamelet.mysql-sink.password",
"description": "The password to use for accessing a secured MySQL Database",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mysql-sink.query": {
"name": "camel.kamelet.mysql-sink.query",
"description": "The Query to execute against the MySQL Database Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)",
"priority": "HIGH",
"required": "true"
},
"camel.kamelet.mysql-sink.databaseName": {
"name": "camel.kamelet.mysql-sink.databaseName",
"description": "The Database Name we are pointing",
"priority": "HIGH",
"required": "true"
}
}
}