Skip to content

GroupProps

Properties for defining a Group.

See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq-group

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkrocketmq"
&alicloudroscdkrocketmq.GroupProps {
    GroupId: interface{},
    InstanceId: interface{},
    GroupType: interface{},
    Remark: interface{},
}

Properties

Name Type Description
GroupId interface{} Property groupId: The group ID of the consumption cluster.
InstanceId interface{} Property instanceId: The ID of the instance.
GroupType interface{} Property groupType: Group ID specify the creation of applicable agreements.
Remark interface{} Property remark: The remarks on the request.

GroupIdRequired

GroupId interface{}
  • Type: interface{}

Property groupId: The group ID of the consumption cluster.

When creating a group ID, pay attention to the following aspects: A group ID starts with"GID_" or "GID-", and contains letters, numbers, hyphens (-), and underscores (_). A group ID ranges from 7 to 64 bytes. Once a group ID is created, it cannot be edited anymore.


InstanceIdRequired

InstanceId interface{}
  • Type: interface{}

Property instanceId: The ID of the instance.


GroupTypeOptional

GroupType interface{}
  • Type: interface{}

Property groupType: Group ID specify the creation of applicable agreements.

Group ID TCP protocol and the HTTP protocol can not be shared, the need to create separately. Value as follows: tcp: Default, indicates Group ID is created only for the TCP protocol messaging. http: represents the Group ID was created only for the HTTP protocol messaging.


RemarkOptional

Remark interface{}
  • Type: interface{}

Property remark: The remarks on the request.