Skip to content

TopicProps

Properties for defining a Topic.

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

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq5"
&alicloudroscdkrocketmq5.TopicProps {
    InstanceId: interface{},
    MessageType: interface{},
    TopicName: interface{},
    Remark: interface{},
}

Properties

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

InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the instance.


MessageTypeRequired

MessageType interface{}
  • Type: interface{}

Property messageType: The message type of the topic to be created.

Valid values: NORMAL FIFO DELAY TRANSACTION


TopicNameRequired

TopicName interface{}
  • Type: interface{}

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

Remark interface{}
  • Type: interface{}

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