generated from camel.apache.org/kamelet
Update wiki Home page for mongodb-sink
parent
3fbebd1efe
commit
62e3f279f3
45
Home.md
45
Home.md
@ -1,21 +1,38 @@
|
|||||||
# Deploy the Project on CamelX Platform
|
# MongoDB Sink
|
||||||
|
|
||||||
Deploy on CamelX Platform in three steps
|
Send data to MongoDB.
|
||||||
|
|
||||||
## Step 1: Create a release
|
This Kamelet expects a JSON-formatted body.
|
||||||
From the project space, click on **"Create a release"**
|
|
||||||
|
|
||||||
The new version is automatically available in the list
|
In the header, you can set the `db-upsert` / `ce-dbupsert` property, a boolean value that specifies whether the database should create an element if it does not exist.
|
||||||
|
|
||||||
## Step 2: Deploy
|
## Metadata
|
||||||
Click on **"Deploy"**
|
|
||||||
|
|
||||||
- **Version:** Select the desired release
|
| Property | Value |
|
||||||
- **Environment:** Choose `Development`, `Staging`, or `Production`
|
|----------|-------|
|
||||||
- **Configuration:** Select the configuration source
|
| Type | sink |
|
||||||
- **Resources:** Set CPU and Memory
|
| Group | MongoDB |
|
||||||
|
| Namespace | Nosql |
|
||||||
|
| Support Level | Stable |
|
||||||
|
| Provider | Apache Software Foundation |
|
||||||
|
|
||||||
## Step 3: Expose
|
## Properties
|
||||||
Enable **"Expose"**
|
|
||||||
|
|
||||||
Choose an **API Gateway** (Internal, Public, etc.)
|
| Name | Type | Required | Default | Description |
|
||||||
|
|------|------|----------|---------|-------------|
|
||||||
|
| `hosts` | string | ✓ | | A comma-separated list of MongoDB host addresses in `host:port` format. |
|
||||||
|
| `collection` | string | ✓ | | The name of the MongoDB collection to bind to this endpoint. |
|
||||||
|
| `password` | string | | | A user password for accessing MongoDB. |
|
||||||
|
| `username` | string | | | A username for accessing MongoDB. |
|
||||||
|
| `ssl` | boolean | | `true` | whether to enable ssl connection to mongodb |
|
||||||
|
| `sslValidationEnabled` | boolean | | `true` | IMPORTANT this should be disabled only in test environment since can pose security issues. |
|
||||||
|
| `database` | string | ✓ | | The name of the MongoDB database. |
|
||||||
|
| `writeConcern` | string | | | The level of acknowledgment requested from MongoDB for write operations. |
|
||||||
|
| `createCollection` | boolean | | `false` | Create a collection during initialization if it doesn't exist. |
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
- `camel:core`
|
||||||
|
- `camel:kamelet`
|
||||||
|
- `camel:mongodb`
|
||||||
|
- `camel:jackson`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user