tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack
tencentcloud.getCkafkaTopicSubscribeGroup
Explore with Pulumi AI
tencentcloud 1.81.189 published on Wednesday, Apr 30, 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 dictionary
The following arguments are supported:
- Instance
Id string - InstanceId.
- Topic
Name string - TopicName.
- Id string
- Result
Output stringFile - Used to save results.
- Instance
Id string - InstanceId.
- Topic
Name string - TopicName.
- Id string
- Result
Output stringFile - Used to save results.
- instance
Id String - InstanceId.
- topic
Name String - TopicName.
- id String
- result
Output StringFile - Used to save results.
- instance
Id string - InstanceId.
- topic
Name string - TopicName.
- id string
- result
Output stringFile - Used to save results.
- instance_
id str - InstanceId.
- topic_
name str - TopicName.
- id str
- result_
output_ strfile - Used to save results.
- instance
Id String - InstanceId.
- topic
Name String - TopicName.
- id String
- result
Output StringFile - Used to save results.
getCkafkaTopicSubscribeGroup Result
The following output properties are available:
- Groups
Infos List<GetCkafka Topic Subscribe Group Groups Info> - Consumer group information.
- Id string
- Instance
Id string - Topic
Name string - Result
Output stringFile
- Groups
Infos []GetCkafka Topic Subscribe Group Groups Info - Consumer group information.
- Id string
- Instance
Id string - Topic
Name string - Result
Output stringFile
- groups
Infos List<GetCkafka Topic Subscribe Group Groups Info> - Consumer group information.
- id String
- instance
Id String - topic
Name String - result
Output StringFile
- groups
Infos GetCkafka Topic Subscribe Group Groups Info[] - Consumer group information.
- id string
- instance
Id string - topic
Name string - result
Output stringFile
- groups_
infos Sequence[GetCkafka Topic Subscribe Group Groups Info] - Consumer group information.
- id str
- instance_
id str - topic_
name str - result_
output_ strfile
- groups
Infos List<Property Map> - Consumer group information.
- id String
- instance
Id String - topic
Name String - result
Output StringFile
Supporting Types
GetCkafkaTopicSubscribeGroupGroupsInfo
- Error
Code string - Error code, normally 0.
- Group string
- Kafka consumer group.
- Members
List<Get
Ckafka 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.
- 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 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.
- 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 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.
- 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 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.
- 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 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.
- 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.
GetCkafkaTopicSubscribeGroupGroupsInfoMember
- Assignments
List<Get
Ckafka Topic Subscribe Group Groups Info 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 Topic Subscribe Group Groups Info 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 Topic Subscribe Group Groups Info 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 Topic Subscribe Group Groups Info 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 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.
- 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.
GetCkafkaTopicSubscribeGroupGroupsInfoMemberAssignment
- Topics
List<Get
Ckafka Topic Subscribe Group Groups Info Member Assignment Topic> - topic list.
- Version double
- assignment version information.
- Topics
[]Get
Ckafka Topic Subscribe Group Groups Info Member Assignment Topic - topic list.
- Version float64
- assignment version information.
- topics
List<Get
Ckafka Topic Subscribe Group Groups Info Member Assignment Topic> - topic list.
- version Double
- assignment version information.
- topics
Get
Ckafka Topic Subscribe Group Groups Info Member Assignment Topic[] - topic list.
- version number
- assignment version information.
- topics
Sequence[Get
Ckafka 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
tencentcloud
Terraform Provider.
tencentcloud 1.81.189 published on Wednesday, Apr 30, 2025 by tencentcloudstack