Skip to content

ConsumerGroupProps

Properties for defining a ConsumerGroup.

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

Initializer

import com.aliyun.ros.cdk.rocketmq5.datasource.ConsumerGroupProps;
ConsumerGroupProps.builder()
    .consumerGroupId(java.lang.String)
    .consumerGroupId(IResolvable)
    .instanceId(java.lang.String)
    .instanceId(IResolvable)
//  .refreshOptions(java.lang.String)
//  .refreshOptions(IResolvable)
    .build();

Properties

Name Type Description
consumerGroupId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property consumerGroupId: The ID of the consumer group.
instanceId java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property instanceId: The ID of the instance to which the consumer group belongs.
refreshOptions java.lang.String OR com.aliyun.ros.cdk.core.IResolvable Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

consumerGroupIdRequired

public java.lang.Object getConsumerGroupId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property consumerGroupId: The ID of the consumer group.


instanceIdRequired

public java.lang.Object getInstanceId();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property instanceId: The ID of the instance to which the consumer group belongs.


refreshOptionsOptional

public java.lang.Object getRefreshOptions();
  • Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable

Property refreshOptions: The refresh strategy for the datasource resource when the stack is updated.

Valid values:

  • Never: Never refresh the datasource resource when the stack is updated.
  • Always: Always refresh the datasource resource when the stack is updated. Default is Never.