Skip to content

TopicProps

Properties for defining a Topic.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-topic

Initializer

using AlibabaCloud.SDK.ROS.CDK.Rocketmq5;
new TopicProps {
    object InstanceId,
    object MessageType,
    object TopicName,
    object Remark = null
};

Properties

Name Type Description
InstanceId object Property instanceId: The ID of the instance.
MessageType object Property messageType: The message type of the topic to be created.
TopicName object Property topicName: The name of the topic to be created is used to identify the topic and is globally unique.
Remark object Property remark: The remark of the topic to be created.

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 message type of the topic to be created.

Valid values: NORMAL FIFO DELAY TRANSACTION


TopicNameRequired

public object TopicName { get; set; }
  • Type: object

Property topicName: The name of the topic to be created is used to identify the topic and is globally unique.

Valid values: Character limitation: supports letters a~z or A-Z, numbers 0-9, underscore (_), dash (-) and percent sign (%). Length limit: 1-60 characters.


RemarkOptional

public object Remark { get; set; }
  • Type: object

Property remark: The remark of the topic to be created.