第 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:

Expand
PropertyNameDescriptionTypeDefaultExample

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 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).

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.

Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部