GroupProps
Properties for defining a Group
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq-group
Initializer
import com.aliyun.ros.cdk.rocketmq.GroupProps;
GroupProps.builder()
.groupId(java.lang.String)
.groupId(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
// .groupType(java.lang.String)
// .groupType(IResolvable)
// .remark(java.lang.String)
// .remark(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
groupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupId: The group ID of the consumption cluster. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: The ID of the instance. |
groupType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property groupType: Group ID specify the creation of applicable agreements. |
remark |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: The remarks on the request. |
groupId
Required
public java.lang.Object getGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: The ID of the instance.
groupType
Optional
public java.lang.Object getGroupType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
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.
remark
Optional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: The remarks on the request.