diff --git a/Home.md b/Home.md index 93a012c..1c7f09c 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,29 @@ -# Deploy the Project on CamelX Platform +# Message 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's timestamp field. -## 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. | +| `timestampKeys` | string | ✓ | | Comma separated list of Timestamp keys. The timestamp is taken from the first found field. | +| `timestampKeyFormat` | string | | `timestamp` | Format of the timestamp keys. Possible values are `timestamp`, or any format string for the timestamp that is compatible with `java.text.SimpleDateFormat`. In case of `timestamp` the field is evaluated as milliseconds since 1970 (as a UNIX Timestamp). | -## Step 3: Expose -Enable **"Expose"** +## Dependencies -Choose an **API Gateway** (Internal, Public, etc.) +- `camel:jackson` +- `camel:kamelet` +- `camel:core` +- `camel:kafka`