ConsumerGroupProps
Properties for defining a ConsumerGroup
.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-kafka-consumergroup
Initializer
import com.aliyun.ros.cdk.kafka.ConsumerGroupProps;
ConsumerGroupProps.builder()
.consumerId(java.lang.String)
.consumerId(IResolvable)
.instanceId(java.lang.String)
.instanceId(IResolvable)
// .remark(java.lang.String)
// .remark(IResolvable)
// .tags(java.util.List<TagsProperty>)
.build();
Properties
Name | Type | Description |
---|---|---|
consumerId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property consumerId: Group name. |
instanceId |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property instanceId: Kafka instance id. |
remark |
java.lang.String OR com.aliyun.ros.cdk.core.IResolvable |
Property remark: Remark description. |
tags |
java.util.List<TagsProperty> |
Property tags: Tags to attach to instance. |
consumerId
Required
public java.lang.Object getConsumerId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property consumerId: Group name.
Value: Can only contain letters, numbers, dashes (-), underscores (_), and at least one English or number. The length is limited to 3 to 128 characters, and more than 128 characters will be automatically intercepted. Once the group name is created, it cannot be modified.
instanceId
Required
public java.lang.Object getInstanceId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property instanceId: Kafka instance id.
remark
Optional
public java.lang.Object getRemark();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property remark: Remark description.
tags
Optional
public java.util.List<TagsProperty> getTags();
- Type: java.util.List<TagsProperty>
Property tags: Tags to attach to instance.
Max support 20 tags to add during create instance. Each tag with two properties Key and Value, and Key is required.