Skip to content

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.

consumerIdRequired

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

Property consumerId: Group name.

  • Reserved instance: Supports uppercase and lowercase letters, numbers, underscores (_), hyphens (-), and periods (.), limited to 3-64 characters.
  • Serverless instance: Can only contain letters, numbers, and special characters "@._*$#^!&-", limited to 1-249 characters.

instanceIdRequired

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

Property instanceId: Kafka instance id.


remarkOptional

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

Property remark: Remark description.


tagsOptional

public java.util.List<TagsProperty> getTags();

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.