Update wiki Home page for set-kafka-key-action

gitea_admin 2026-03-11 14:40:05 +00:00
parent b21a27500d
commit c2b9f5e552

34
Home.md

@ -1,21 +1,27 @@
# Deploy the Project on CamelX Platform # Set Kafka Key Action
Deploy on CamelX Platform in three steps Set Kafka Key based on a specific incoming header value from the message body.
## Step 1: Create a release The headerName parameter allows you to specify which header value to set as Kafka Key.
From the project space, click on **"Create a release"**
The new version is automatically available in the list ## Metadata
## Step 2: Deploy | Property | Value |
Click on **"Deploy"** |----------|-------|
| Type | action |
| Group | Actions |
| Namespace | Kafka |
| Support Level | Stable |
| Provider | Apache Software Foundation |
- **Version:** Select the desired release ## Properties
- **Environment:** Choose `Development`, `Staging`, or `Production`
- **Configuration:** Select the configuration source
- **Resources:** Set CPU and Memory
## Step 3: Expose | Name | Type | Required | Default | Description |
Enable **"Expose"** |------|------|----------|---------|-------------|
| `headerName` | string | ✓ | | The name of the header to set as Kafka Key |
| `forceHeaderDeletion` | boolean | | `false` | If true, it will remove the header with name headerName from the Exchange after setting it as Kafka Key |
Choose an **API Gateway** (Internal, Public, etc.) ## Dependencies
- `camel:kamelet`
- `camel:core`