MessageTimestampDescription interface
MessageTimestamp 说明的属性
属性
| timestamp |
表示消息将保留的时间戳类型。两种类型的时间戳类型 -“AppendTime”和“CreateTime”。 AppendTime 是指在中转站日志中追加消息的时间。 CreateTime 是指在源端生成消息的时间,生成者可以在发送消息时设置此时间戳。 默认值为 AppendTime。 如果使用 AMQP 协议,CreateTime 等于 AppendTime 及其行为保持不变。 |
属性详细信息
timestampType
表示消息将保留的时间戳类型。两种类型的时间戳类型 -“AppendTime”和“CreateTime”。 AppendTime 是指在中转站日志中追加消息的时间。 CreateTime 是指在源端生成消息的时间,生成者可以在发送消息时设置此时间戳。 默认值为 AppendTime。 如果使用 AMQP 协议,CreateTime 等于 AppendTime 及其行为保持不变。
timestampType?: string
属性值
string