ConsumerGroupProps
Properties for defining a ConsumerGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-rocketmq5-consumergroup
Initializer
import com.aliyun.ros.cdk.rocketmq5.ConsumerGroupProps;
ConsumerGroupProps.builder()
.consumeRetryPolicy(IResolvable)
.consumeRetryPolicy(ConsumeRetryPolicyProperty)
.consumerGroupId(java.lang.String)
.consumerGroupId(IResolvable)
.deliveryOrderType(java.lang.String)
.deliveryOrderType(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
// .remark(java.lang.String)
// .remark(IResolvable)
.build();
Properties
Name | Type | Description |
---|---|---|
consumeRetryPolicy |
com.aliyun.ros.cdk.core.IResolvable OR ConsumeRetryPolicyProperty |
Property consumeRetryPolicy: The consumption retry policy of the consumer group to be created. |
consumerGroupId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property consumerGroupId: The ID of the consumer group to be created. |
deliveryOrderType |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property deliveryOrderType: Delivery sequence of the consumer group to be created. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: The ID of the instance. |
remark |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: The remark of the consumer group to be created. |
consumeRetryPolicy
Required
public java.lang.Object getConsumeRetryPolicy();
- Type: com.aliyun.ros.cdk.core.IResolvable OR ConsumeRetryPolicyProperty
Property consumeRetryPolicy: The consumption retry policy of the consumer group to be created.
consumerGroupId
Required
public java.lang.Object getConsumerGroupId();
- Type: java.lang.String OR com.aliyun.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.
deliveryOrderType
Required
public java.lang.Object getDeliveryOrderType();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property deliveryOrderType: Delivery sequence of the consumer group to be created.
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.
remark
Optional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: The remark of the consumer group to be created.