| { |
| "connector": { |
| "class": "org.apache.camel.kafkaconnector.postgresqlsink.CamelPostgresqlsinkSinkConnector", |
| "artifactId": "camel-postgresql-sink-kafka-connector", |
| "groupId": "org.apache.camel.kafkaconnector", |
| "id": "camel-postgresql-sink-sink", |
| "type": "sink", |
| "version": "1.1.0-SNAPSHOT", |
| "description": "Send data to a PostgreSQL Database.\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.postgresql-sink.serverName": { |
| "name": "camel.kamelet.postgresql-sink.serverName", |
| "description": "Server Name for the data source Example: localhost", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.serverPort": { |
| "name": "camel.kamelet.postgresql-sink.serverPort", |
| "description": "Server Port for the data source", |
| "defaultValue": "\"5432\"", |
| "priority": "MEDIUM", |
| "required": "false" |
| }, |
| "camel.kamelet.postgresql-sink.username": { |
| "name": "camel.kamelet.postgresql-sink.username", |
| "description": "The username to use for accessing a secured PostgreSQL Database", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.password": { |
| "name": "camel.kamelet.postgresql-sink.password", |
| "description": "The password to use for accessing a secured PostgreSQL Database", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.query": { |
| "name": "camel.kamelet.postgresql-sink.query", |
| "description": "The Query to execute against the PostgreSQL Database Example: INSERT INTO accounts (username,city) VALUES (:#username,:#city)", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.databaseName": { |
| "name": "camel.kamelet.postgresql-sink.databaseName", |
| "description": "The Database Name we are pointing", |
| "priority": "HIGH", |
| "required": "true" |
| } |
| } |
| } |