tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
tencentcloud.getCkafkaGroupInfo
Start a Neo task
Explain and create a tencentcloud.getCkafkaGroupInfo resource
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
Use this data source to query detailed information of ckafka group_info
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const groupInfo = tencentcloud.getCkafkaGroupInfo({
instanceId: "ckafka-xxxxxx",
groupLists: ["xxxxxx"],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
group_info = tencentcloud.get_ckafka_group_info(instance_id="ckafka-xxxxxx",
group_lists=["xxxxxx"])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := tencentcloud.LookupCkafkaGroupInfo(ctx, &tencentcloud.LookupCkafkaGroupInfoArgs{
InstanceId: "ckafka-xxxxxx",
GroupLists: []string{
"xxxxxx",
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Tencentcloud = Pulumi.Tencentcloud;
return await Deployment.RunAsync(() =>
{
var groupInfo = Tencentcloud.GetCkafkaGroupInfo.Invoke(new()
{
InstanceId = "ckafka-xxxxxx",
GroupLists = new[]
{
"xxxxxx",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetCkafkaGroupInfoArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var groupInfo = TencentcloudFunctions.getCkafkaGroupInfo(GetCkafkaGroupInfoArgs.builder()
.instanceId("ckafka-xxxxxx")
.groupLists("xxxxxx")
.build());
}
}
variables:
groupInfo:
fn::invoke:
function: tencentcloud:getCkafkaGroupInfo
arguments:
instanceId: ckafka-xxxxxx
groupLists:
- xxxxxx
Using getCkafkaGroupInfo
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCkafkaGroupInfo(args: GetCkafkaGroupInfoArgs, opts?: InvokeOptions): Promise<GetCkafkaGroupInfoResult>
function getCkafkaGroupInfoOutput(args: GetCkafkaGroupInfoOutputArgs, opts?: InvokeOptions): Output<GetCkafkaGroupInfoResult>def get_ckafka_group_info(group_lists: Optional[Sequence[str]] = None,
id: Optional[str] = None,
instance_id: Optional[str] = None,
result_output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCkafkaGroupInfoResult
def get_ckafka_group_info_output(group_lists: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
id: Optional[pulumi.Input[str]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
result_output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaGroupInfoResult]func LookupCkafkaGroupInfo(ctx *Context, args *LookupCkafkaGroupInfoArgs, opts ...InvokeOption) (*LookupCkafkaGroupInfoResult, error)
func LookupCkafkaGroupInfoOutput(ctx *Context, args *LookupCkafkaGroupInfoOutputArgs, opts ...InvokeOption) LookupCkafkaGroupInfoResultOutput> Note: This function is named LookupCkafkaGroupInfo in the Go SDK.
public static class GetCkafkaGroupInfo
{
public static Task<GetCkafkaGroupInfoResult> InvokeAsync(GetCkafkaGroupInfoArgs args, InvokeOptions? opts = null)
public static Output<GetCkafkaGroupInfoResult> Invoke(GetCkafkaGroupInfoInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCkafkaGroupInfoResult> getCkafkaGroupInfo(GetCkafkaGroupInfoArgs args, InvokeOptions options)
public static Output<GetCkafkaGroupInfoResult> getCkafkaGroupInfo(GetCkafkaGroupInfoArgs args, InvokeOptions options)
fn::invoke:
function: tencentcloud:index/getCkafkaGroupInfo:getCkafkaGroupInfo
arguments:
# arguments dictionaryThe following arguments are supported:
- Group
Lists List<string> - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- Instance
Id string - InstanceId.
- Id string
- Result
Output stringFile - Used to save results.
- Group
Lists []string - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- Instance
Id string - InstanceId.
- Id string
- Result
Output stringFile - Used to save results.
- group
Lists List<String> - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- instance
Id String - InstanceId.
- id String
- result
Output StringFile - Used to save results.
- group
Lists string[] - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- instance
Id string - InstanceId.
- id string
- result
Output stringFile - Used to save results.
- group_
lists Sequence[str] - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- instance_
id str - InstanceId.
- id str
- result_
output_ strfile - Used to save results.
- group
Lists List<String> - Kafka consumption group, Consumer-group, here is an array format, format GroupList.0=xxx&GroupList.1=yyy.
- instance
Id String - InstanceId.
- id String
- result
Output StringFile - Used to save results.
getCkafkaGroupInfo Result
The following output properties are available:
- Group
Lists List<string> - Id string
- Instance
Id string - Results
List<Get
Ckafka Group Info Result> - result.
- Result
Output stringFile
- Group
Lists []string - Id string
- Instance
Id string - Results
[]Get
Ckafka Group Info Result - result.
- Result
Output stringFile
- group
Lists List<String> - id String
- instance
Id String - results
List<Get
Ckafka Group Info Result> - result.
- result
Output StringFile
- group
Lists string[] - id string
- instance
Id string - results
Get
Ckafka Group Info Result[] - result.
- result
Output stringFile
- group_
lists Sequence[str] - id str
- instance_
id str - results
Sequence[Get
Ckafka Group Info Result] - result.
- result_
output_ strfile
- group
Lists List<String> - id String
- instance
Id String - results List<Property Map>
- result.
- result
Output StringFile
Supporting Types
GetCkafkaGroupInfoResult
- Error
Code string - Error code, normally 0.
- Group string
- Kafka consumer group.
- Members
List<Get
Ckafka Group Info Result Member> - This array contains information only if state is Stable and protocol_type is consumer.
- Protocol string
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- Protocol
Type string - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- State string
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
- Error
Code string - Error code, normally 0.
- Group string
- Kafka consumer group.
- Members
[]Get
Ckafka Group Info Result Member - This array contains information only if state is Stable and protocol_type is consumer.
- Protocol string
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- Protocol
Type string - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- State string
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
- error
Code String - Error code, normally 0.
- group String
- Kafka consumer group.
- members
List<Get
Ckafka Group Info Result Member> - This array contains information only if state is Stable and protocol_type is consumer.
- protocol String
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- protocol
Type String - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- state String
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
- error
Code string - Error code, normally 0.
- group string
- Kafka consumer group.
- members
Get
Ckafka Group Info Result Member[] - This array contains information only if state is Stable and protocol_type is consumer.
- protocol string
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- protocol
Type string - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- state string
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
- error_
code str - Error code, normally 0.
- group str
- Kafka consumer group.
- members
Sequence[Get
Ckafka Group Info Result Member] - This array contains information only if state is Stable and protocol_type is consumer.
- protocol str
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- protocol_
type str - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- state str
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
- error
Code String - Error code, normally 0.
- group String
- Kafka consumer group.
- members List<Property Map>
- This array contains information only if state is Stable and protocol_type is consumer.
- protocol String
- Common consumer partition allocation algorithms are as follows (the default option for Kafka consumer SDK is range) range|roundrobin|sticky.
- protocol
Type String - The protocol type selected by the consumption group is normally the consumer, but some systems use their own protocol, such as kafka-connect, which uses connect. Only the standard consumer protocol, this interface knows the format of the specific allocation method, and can analyze the specific partition allocation.
- state String
- Group state description (commonly Empty, Stable, and Dead states): Dead: The consumption group does not exist Empty: The consumption group does not currently have any consumer subscriptions PreparingRebalance: The consumption group is in the rebalance state CompletingRebalance: The consumption group is in the rebalance state Stable: Each consumer in the consumption group has joined and is in a stable state.
GetCkafkaGroupInfoResultMember
- Assignments
List<Get
Ckafka Group Info Result Member Assignment> - Stores the partition information assigned to the consumer.
- Client
Host string - Generally store the customer's IP address.
- Client
Id string - The client.id information set by the client consumer SDK itself.
- Member
Id string - ID that the coordinator generated for consumer.
- Assignments
[]Get
Ckafka Group Info Result Member Assignment - Stores the partition information assigned to the consumer.
- Client
Host string - Generally store the customer's IP address.
- Client
Id string - The client.id information set by the client consumer SDK itself.
- Member
Id string - ID that the coordinator generated for consumer.
- assignments
List<Get
Ckafka Group Info Result Member Assignment> - Stores the partition information assigned to the consumer.
- client
Host String - Generally store the customer's IP address.
- client
Id String - The client.id information set by the client consumer SDK itself.
- member
Id String - ID that the coordinator generated for consumer.
- assignments
Get
Ckafka Group Info Result Member Assignment[] - Stores the partition information assigned to the consumer.
- client
Host string - Generally store the customer's IP address.
- client
Id string - The client.id information set by the client consumer SDK itself.
- member
Id string - ID that the coordinator generated for consumer.
- assignments
Sequence[Get
Ckafka Group Info Result Member Assignment] - Stores the partition information assigned to the consumer.
- client_
host str - Generally store the customer's IP address.
- client_
id str - The client.id information set by the client consumer SDK itself.
- member_
id str - ID that the coordinator generated for consumer.
- assignments List<Property Map>
- Stores the partition information assigned to the consumer.
- client
Host String - Generally store the customer's IP address.
- client
Id String - The client.id information set by the client consumer SDK itself.
- member
Id String - ID that the coordinator generated for consumer.
GetCkafkaGroupInfoResultMemberAssignment
- Topics
List<Get
Ckafka Group Info Result Member Assignment Topic> - topic list.
- Version double
- assignment version information.
- Topics
[]Get
Ckafka Group Info Result Member Assignment Topic - topic list.
- Version float64
- assignment version information.
- topics
List<Get
Ckafka Group Info Result Member Assignment Topic> - topic list.
- version Double
- assignment version information.
- topics
Get
Ckafka Group Info Result Member Assignment Topic[] - topic list.
- version number
- assignment version information.
- topics
Sequence[Get
Ckafka Group Info Result Member Assignment Topic] - topic list.
- version float
- assignment version information.
- topics List<Property Map>
- topic list.
- version Number
- assignment version information.
GetCkafkaGroupInfoResultMemberAssignmentTopic
- Partitions List<double>
- Allocated partition information.
- Topic string
- Assigned topic name.
- Partitions []float64
- Allocated partition information.
- Topic string
- Assigned topic name.
- partitions List<Double>
- Allocated partition information.
- topic String
- Assigned topic name.
- partitions number[]
- Allocated partition information.
- topic string
- Assigned topic name.
- partitions Sequence[float]
- Allocated partition information.
- topic str
- Assigned topic name.
- partitions List<Number>
- Allocated partition information.
- topic String
- Assigned topic name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
tencentcloud 1.82.35 published on Friday, Nov 7, 2025 by tencentcloudstack
