第 55 章 Message Timestamp Router Action
Update the topic field as a function of the original topic name and the record’s timestamp field.
55.1. Configuration Options 复制链接链接已复制到粘贴板!
The following table summarizes the configuration options available for the message-timestamp-router-action Kamelet:
| Property | Name | Description | Type | Default | Example |
|---|---|---|---|---|---|
| timestampKeys * | Timestamp Keys | Comma separated list of Timestamp keys. The timestamp is taken from the first found field. | string | ||
| timestampFormat | Timestamp Format | Format string for the timestamp that is compatible with java.text.SimpleDateFormat. | string | yyyyMMdd | |
| timestampKeyFormat | Timestamp Keys Format |
Format of the timestamp keys. Possible values are | string | timestamp | |
| topicFormat | Topic Format | Format string which can contain '$[topic]' and '$[timestamp]' as placeholders for the topic and timestamp, respectively. | string | topic-$[timestamp] |
* = Fields marked with an asterisk are mandatory.