TopicProps
Properties for defining a Topic.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq-topic
Initializer
using AlibabaCloud.SDK.ROS.CDK.Rocketmq;
new TopicProps {
object InstanceId,
object MessageType,
object Topic,
object Remark = null
};
Properties
| Name | Type | Description |
|---|---|---|
InstanceId |
object |
Property instanceId: The ID of the instance. |
MessageType |
object |
Property messageType: The type of the message. |
Topic |
object |
Property topic: The name of the topic you want to create. |
Remark |
object |
Property remark: The remarks on the request. |
InstanceIdRequired
public object InstanceId { get; set; }
- Type: object
Property instanceId: The ID of the instance.
MessageTypeRequired
public object MessageType { get; set; }
- Type: object
Property messageType: The type of the message.
Valid values: 0: normal message 1: partitionally ordered message 2: globally ordered message 4: transactional message 5: scheduled/delayed message
TopicRequired
public object Topic { get; set; }
- Type: object
Property topic: The name of the topic you want to create.
Note: "CID" and "GID" are the reserved fields of a group ID, and they cannot be the start of a topic name. If namespaces are available in the instance for which the topic is created, the topic name must be unique in the instance and can be duplicated across instances. If no namespaces are available in the instance, the topic name must be unique both in the instance and across instances.
RemarkOptional
public object Remark { get; set; }
- Type: object
Property remark: The remarks on the request.
This parameter can be left blank.