| { |
| "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": "4.0.0-SNAPSHOT", |
| "description": "Send data to a PostgreSQL Database.\n\nThis Kamelet expects a JSON-formatted body. Use key:value pairs to map the JSON fields and parameters. For example, here is a query:\n\n'INSERT INTO accounts (username,city) VALUES (:#username,:#city)'\n\nHere is example input for the example query:\n\n'{ \"username\":\"oscerd\", \"city\":\"Rome\"}'" |
| }, |
| "properties": { |
| "camel.kamelet.postgresql-sink.serverName": { |
| "name": "camel.kamelet.postgresql-sink.serverName", |
| "description": "The server name for the data source. Example: localhost", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.serverPort": { |
| "name": "camel.kamelet.postgresql-sink.serverPort", |
| "description": "The 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 access a secured PostgreSQL Database.", |
| "priority": "HIGH", |
| "required": "true" |
| }, |
| "camel.kamelet.postgresql-sink.password": { |
| "name": "camel.kamelet.postgresql-sink.password", |
| "description": "The password to access 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 name of the PostgreSQL Database.", |
| "priority": "HIGH", |
| "required": "true" |
| } |
| } |
| } |