Skip to content

GroupProps

Properties for defining a Group.

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

Initializer

import ros_cdk_rocketmq
ros_cdk_rocketmq.GroupProps(
  group_id: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  group_type: typing.Union[str, IResolvable] = None,
  remark: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
group_id typing.Union[str, ros_cdk_core.IResolvable] Property groupId: The group ID of the consumption cluster.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the instance.
group_type typing.Union[str, ros_cdk_core.IResolvable] Property groupType: Group ID specify the creation of applicable agreements.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remarks on the request.

group_idRequired

group_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


instance_idRequired

instance_id: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property instanceId: The ID of the instance.


group_typeOptional

group_type: typing.Union[str, IResolvable]
  • Type: typing.Union[str, 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.


remarkOptional

remark: typing.Union[str, IResolvable]
  • Type: typing.Union[str, ros_cdk_core.IResolvable]

Property remark: The remarks on the request.