diff --git a/Home.md b/Home.md index 93a012c..000160b 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,26 @@ -# Deploy the Project on CamelX Platform +# Timestamp Router Action -Deploy on CamelX Platform in three steps +Update the topic field as a function of the original topic name and the record timestamp. -## Step 1: Create a release -From the project space, click on **"Create a release"** +## Metadata -The new version is automatically available in the list +| Property | Value | +|----------|-------| +| Type | action | +| Group | Actions | +| Namespace | Kafka | +| Support Level | Stable | +| Provider | Apache Software Foundation | -## Step 2: Deploy -Click on **"Deploy"** +## Properties -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `topicFormat` | string | | `topic-$[timestamp]` | Format string which can contain '$[topic]' and '$[timestamp]' as placeholders for the topic and timestamp, respectively. | +| `timestampFormat` | string | | `yyyyMMdd` | Format string for the timestamp that is compatible with java.text.SimpleDateFormat. | +| `timestampHeaderName` | string | | `kafka.TIMESTAMP` | The name of the header containing a timestamp | -## Step 3: Expose -Enable **"Expose"** +## Dependencies -Choose an **API Gateway** (Internal, Public, etc.) +- `camel:kamelet` +- `camel:core`