tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
tencentcloud.getCkafkaTopicSubscribeGroup
Explore with Pulumi AI
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack
Use this data source to query detailed information of ckafka topic_subscribe_group
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const topicSubscribeGroup = tencentcloud.getCkafkaTopicSubscribeGroup({
    instanceId: "ckafka-xxxxxx",
    topicName: "xxxxxx",
});
import pulumi
import pulumi_tencentcloud as tencentcloud
topic_subscribe_group = tencentcloud.get_ckafka_topic_subscribe_group(instance_id="ckafka-xxxxxx",
    topic_name="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.GetCkafkaTopicSubscribeGroup(ctx, &tencentcloud.GetCkafkaTopicSubscribeGroupArgs{
			InstanceId: "ckafka-xxxxxx",
			TopicName:  "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 topicSubscribeGroup = Tencentcloud.GetCkafkaTopicSubscribeGroup.Invoke(new()
    {
        InstanceId = "ckafka-xxxxxx",
        TopicName = "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.GetCkafkaTopicSubscribeGroupArgs;
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 topicSubscribeGroup = TencentcloudFunctions.getCkafkaTopicSubscribeGroup(GetCkafkaTopicSubscribeGroupArgs.builder()
            .instanceId("ckafka-xxxxxx")
            .topicName("xxxxxx")
            .build());
    }
}
variables:
  topicSubscribeGroup:
    fn::invoke:
      function: tencentcloud:getCkafkaTopicSubscribeGroup
      arguments:
        instanceId: ckafka-xxxxxx
        topicName: xxxxxx
Using getCkafkaTopicSubscribeGroup
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 getCkafkaTopicSubscribeGroup(args: GetCkafkaTopicSubscribeGroupArgs, opts?: InvokeOptions): Promise<GetCkafkaTopicSubscribeGroupResult>
function getCkafkaTopicSubscribeGroupOutput(args: GetCkafkaTopicSubscribeGroupOutputArgs, opts?: InvokeOptions): Output<GetCkafkaTopicSubscribeGroupResult>def get_ckafka_topic_subscribe_group(id: Optional[str] = None,
                                     instance_id: Optional[str] = None,
                                     result_output_file: Optional[str] = None,
                                     topic_name: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetCkafkaTopicSubscribeGroupResult
def get_ckafka_topic_subscribe_group_output(id: Optional[pulumi.Input[str]] = None,
                                     instance_id: Optional[pulumi.Input[str]] = None,
                                     result_output_file: Optional[pulumi.Input[str]] = None,
                                     topic_name: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetCkafkaTopicSubscribeGroupResult]func GetCkafkaTopicSubscribeGroup(ctx *Context, args *GetCkafkaTopicSubscribeGroupArgs, opts ...InvokeOption) (*GetCkafkaTopicSubscribeGroupResult, error)
func GetCkafkaTopicSubscribeGroupOutput(ctx *Context, args *GetCkafkaTopicSubscribeGroupOutputArgs, opts ...InvokeOption) GetCkafkaTopicSubscribeGroupResultOutput> Note: This function is named GetCkafkaTopicSubscribeGroup in the Go SDK.
public static class GetCkafkaTopicSubscribeGroup 
{
    public static Task<GetCkafkaTopicSubscribeGroupResult> InvokeAsync(GetCkafkaTopicSubscribeGroupArgs args, InvokeOptions? opts = null)
    public static Output<GetCkafkaTopicSubscribeGroupResult> Invoke(GetCkafkaTopicSubscribeGroupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetCkafkaTopicSubscribeGroupResult> getCkafkaTopicSubscribeGroup(GetCkafkaTopicSubscribeGroupArgs args, InvokeOptions options)
public static Output<GetCkafkaTopicSubscribeGroupResult> getCkafkaTopicSubscribeGroup(GetCkafkaTopicSubscribeGroupArgs args, InvokeOptions options)
fn::invoke:
  function: tencentcloud:index/getCkafkaTopicSubscribeGroup:getCkafkaTopicSubscribeGroup
  arguments:
    # arguments dictionaryThe following arguments are supported:
- InstanceId string
- InstanceId.
- TopicName string
- TopicName.
- Id string
- ResultOutput stringFile 
- Used to save results.
- InstanceId string
- InstanceId.
- TopicName string
- TopicName.
- Id string
- ResultOutput stringFile 
- Used to save results.
- instanceId String
- InstanceId.
- topicName String
- TopicName.
- id String
- resultOutput StringFile 
- Used to save results.
- instanceId string
- InstanceId.
- topicName string
- TopicName.
- id string
- resultOutput stringFile 
- Used to save results.
- instance_id str
- InstanceId.
- topic_name str
- TopicName.
- id str
- result_output_ strfile 
- Used to save results.
- instanceId String
- InstanceId.
- topicName String
- TopicName.
- id String
- resultOutput StringFile 
- Used to save results.
getCkafkaTopicSubscribeGroup Result
The following output properties are available:
- GroupsInfos List<GetCkafka Topic Subscribe Group Groups Info> 
- Consumer group information.
- Id string
- InstanceId string
- TopicName string
- ResultOutput stringFile 
- GroupsInfos []GetCkafka Topic Subscribe Group Groups Info 
- Consumer group information.
- Id string
- InstanceId string
- TopicName string
- ResultOutput stringFile 
- groupsInfos List<GetCkafka Topic Subscribe Group Groups Info> 
- Consumer group information.
- id String
- instanceId String
- topicName String
- resultOutput StringFile 
- groupsInfos GetCkafka Topic Subscribe Group Groups Info[] 
- Consumer group information.
- id string
- instanceId string
- topicName string
- resultOutput stringFile 
- groups_infos Sequence[GetCkafka Topic Subscribe Group Groups Info] 
- Consumer group information.
- id str
- instance_id str
- topic_name str
- result_output_ strfile 
- groupsInfos List<Property Map>
- Consumer group information.
- id String
- instanceId String
- topicName String
- resultOutput StringFile 
Supporting Types
GetCkafkaTopicSubscribeGroupGroupsInfo      
- ErrorCode string
- Error code, normally 0.
- Group string
- Kafka consumer group.
- Members
List<GetCkafka Topic Subscribe Group Groups Info 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.
- ProtocolType 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.
- ErrorCode string
- Error code, normally 0.
- Group string
- Kafka consumer group.
- Members
[]GetCkafka Topic Subscribe Group Groups Info 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.
- ProtocolType 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.
- errorCode String
- Error code, normally 0.
- group String
- Kafka consumer group.
- members
List<GetCkafka Topic Subscribe Group Groups Info 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.
- protocolType 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.
- errorCode string
- Error code, normally 0.
- group string
- Kafka consumer group.
- members
GetCkafka Topic Subscribe Group Groups Info 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.
- protocolType 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[GetCkafka Topic Subscribe Group Groups Info 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.
- errorCode 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.
- protocolType 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.
GetCkafkaTopicSubscribeGroupGroupsInfoMember       
- Assignments
List<GetCkafka Topic Subscribe Group Groups Info Member Assignment> 
- Stores the partition information assigned to the consumer.
- ClientHost string
- Generally store the customer's IP address.
- ClientId string
- The client.id information set by the client consumer SDK itself.
- MemberId string
- ID that the coordinator generated for consumer.
- Assignments
[]GetCkafka Topic Subscribe Group Groups Info Member Assignment 
- Stores the partition information assigned to the consumer.
- ClientHost string
- Generally store the customer's IP address.
- ClientId string
- The client.id information set by the client consumer SDK itself.
- MemberId string
- ID that the coordinator generated for consumer.
- assignments
List<GetCkafka Topic Subscribe Group Groups Info Member Assignment> 
- Stores the partition information assigned to the consumer.
- clientHost String
- Generally store the customer's IP address.
- clientId String
- The client.id information set by the client consumer SDK itself.
- memberId String
- ID that the coordinator generated for consumer.
- assignments
GetCkafka Topic Subscribe Group Groups Info Member Assignment[] 
- Stores the partition information assigned to the consumer.
- clientHost string
- Generally store the customer's IP address.
- clientId string
- The client.id information set by the client consumer SDK itself.
- memberId string
- ID that the coordinator generated for consumer.
- assignments
Sequence[GetCkafka Topic Subscribe Group Groups Info 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.
- clientHost String
- Generally store the customer's IP address.
- clientId String
- The client.id information set by the client consumer SDK itself.
- memberId String
- ID that the coordinator generated for consumer.
GetCkafkaTopicSubscribeGroupGroupsInfoMemberAssignment        
- Topics
List<GetCkafka Topic Subscribe Group Groups Info Member Assignment Topic> 
- topic list.
- Version double
- assignment version information.
- Topics
[]GetCkafka Topic Subscribe Group Groups Info Member Assignment Topic 
- topic list.
- Version float64
- assignment version information.
- topics
List<GetCkafka Topic Subscribe Group Groups Info Member Assignment Topic> 
- topic list.
- version Double
- assignment version information.
- topics
GetCkafka Topic Subscribe Group Groups Info Member Assignment Topic[] 
- topic list.
- version number
- assignment version information.
- topics
Sequence[GetCkafka Topic Subscribe Group Groups Info Member Assignment Topic] 
- topic list.
- version float
- assignment version information.
- topics List<Property Map>
- topic list.
- version Number
- assignment version information.
GetCkafkaTopicSubscribeGroupGroupsInfoMemberAssignmentTopic         
- Partitions List<double>
- partition list.
- Topic string
- topic name.
- Partitions []float64
- partition list.
- Topic string
- topic name.
- partitions List<Double>
- partition list.
- topic String
- topic name.
- partitions number[]
- partition list.
- topic string
- topic name.
- partitions Sequence[float]
- partition list.
- topic str
- topic name.
- partitions List<Number>
- partition list.
- topic String
- topic name.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.
tencentcloud 1.81.183 published on Wednesday, Apr 16, 2025 by tencentcloudstack