Skip to content

ConsumerGroupProps

Properties for defining a ConsumerGroup.

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

Initializer

import ros_cdk_rocketmq5
ros_cdk_rocketmq5.ConsumerGroupProps(
  consume_retry_policy: typing.Union[IResolvable, ConsumeRetryPolicyProperty],
  consumer_group_id: typing.Union[str, IResolvable],
  delivery_order_type: typing.Union[str, IResolvable],
  instance_id: typing.Union[str, IResolvable],
  remark: typing.Union[str, IResolvable] = None
)

Properties

Name Type Description
consume_retry_policy typing.Union[ros_cdk_core.IResolvable, ConsumeRetryPolicyProperty] Property consumeRetryPolicy: The consumption retry policy of the consumer group to be created.
consumer_group_id typing.Union[str, ros_cdk_core.IResolvable] Property consumerGroupId: The ID of the consumer group to be created.
delivery_order_type typing.Union[str, ros_cdk_core.IResolvable] Property deliveryOrderType: Delivery sequence of the consumer group to be created.
instance_id typing.Union[str, ros_cdk_core.IResolvable] Property instanceId: The ID of the instance.
remark typing.Union[str, ros_cdk_core.IResolvable] Property remark: The remark of the consumer group to be created.

consume_retry_policyRequired

consume_retry_policy: typing.Union[IResolvable, ConsumeRetryPolicyProperty]

Property consumeRetryPolicy: The consumption retry policy of the consumer group to be created.


consumer_group_idRequired

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

Property consumerGroupId: The ID of the consumer group to be created.

Used to identify consumer groups, globally unique. The value description is as follows: Character limitation: supports letters a~z or A-Z, numbers 0-9, underscore (_), dash (-) and percent sign (%). Length limit: 1-60 characters.


delivery_order_typeRequired

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

Property deliveryOrderType: Delivery sequence of the consumer group to be created.


instance_idRequired

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

Property instanceId: The ID of the instance.


remarkOptional

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

Property remark: The remark of the consumer group to be created.