你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
MessageTimestampDescription Class
Properties of MessageTimestamp Description.
- Inheritance
-
azure.mgmt.eventhub._serialization.ModelMessageTimestampDescription
Constructor
MessageTimestampDescription(*, timestamp_type: str | _models.TimestampType | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
timestamp_type
|
str or
TimestampType
Denotes the type of timestamp the message will hold.Two types of timestamp types - "AppendTime" and "CreateTime". AppendTime refers the time in which message got appended inside broker log. CreateTime refers to the time in which the message was generated on source side and producers can set this timestamp while sending the message. Default value is AppendTime. If you are using AMQP protocol, CreateTime equals AppendTime and its behavior remains the same. Known values are: "LogAppend" and "Create". |
Variables
Name | Description |
---|---|
timestamp_type
|
str or
TimestampType
Denotes the type of timestamp the message will hold.Two types of timestamp types - "AppendTime" and "CreateTime". AppendTime refers the time in which message got appended inside broker log. CreateTime refers to the time in which the message was generated on source side and producers can set this timestamp while sending the message. Default value is AppendTime. If you are using AMQP protocol, CreateTime equals AppendTime and its behavior remains the same. Known values are: "LogAppend" and "Create". |