diff --git a/Home.md b/Home.md index 93a012c..f4c73a9 100644 --- a/Home.md +++ b/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 -From the project space, click on **"Create a release"** +This Kamelet expects a JSON-formatted body. -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 -Click on **"Deploy"** +## Metadata -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +| Property | Value | +|----------|-------| +| Type | sink | +| Group | MongoDB | +| Namespace | Nosql | +| Support Level | Stable | +| Provider | Apache Software Foundation | -## Step 3: Expose -Enable **"Expose"** +## Properties -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`