Skip to content

ConsumerGroupProps

Properties for defining a ConsumerGroup.

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

Initializer

import { ConsumerGroupProps } from '@alicloud/ros-cdk-rocketmq5'
const consumerGroupProps: ConsumerGroupProps = { ... }

Properties

Name Type Description
consumeRetryPolicy @alicloud/ros-cdk-core.IResolvable | ConsumeRetryPolicyProperty Property consumeRetryPolicy: The consumption retry policy of the consumer group to be created.
consumerGroupId string | @alicloud/ros-cdk-core.IResolvable Property consumerGroupId: The ID of the consumer group to be created.
deliveryOrderType string | @alicloud/ros-cdk-core.IResolvable Property deliveryOrderType: Delivery sequence of the consumer group to be created.
instanceId string | @alicloud/ros-cdk-core.IResolvable Property instanceId: The ID of the instance.
remark string | @alicloud/ros-cdk-core.IResolvable Property remark: The remark of the consumer group to be created.

consumeRetryPolicyRequired

public readonly consumeRetryPolicy: IResolvable | ConsumeRetryPolicyProperty;

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


consumerGroupIdRequired

public readonly consumerGroupId: string | IResolvable;
  • Type: string | @alicloud/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.


deliveryOrderTypeRequired

public readonly deliveryOrderType: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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


instanceIdRequired

public readonly instanceId: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

Property instanceId: The ID of the instance.


remarkOptional

public readonly remark: string | IResolvable;
  • Type: string | @alicloud/ros-cdk-core.IResolvable

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