import * as pulumi from "@pulumi/pulumi"; /** * A virtual collection of multiple consumers. When consuming log data at the consumer group level, all consumers in the group subscribe to the same log topic and jointly consume data from that log topic. Each consumer consumes data from one or more Shards in the log topic, and there is no duplicate consumption of data among consumers. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcenginecc from "@volcengine/pulumi-volcenginecc"; * * const tLSConsumerGroupDemo = new volcenginecc.tls.ConsumerGroup("TLSConsumerGroupDemo", { * projectId: "c6fef4c1-041f-43*****", * topicIdLists: ["bead2d9c*****"], * consumerGroupName: "test-gruopname", * heartbeatTtl: 10, * orderedConsume: true, * }); * ``` * * ## Import * * ```sh * $ pulumi import volcenginecc:tls/consumerGroup:ConsumerGroup example "project_id|consumer_group_name" * ``` */ export declare class ConsumerGroup extends pulumi.CustomResource { /** * Get an existing ConsumerGroup resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: ConsumerGroupState, opts?: pulumi.CustomResourceOptions): ConsumerGroup; /** * Returns true if the given object is an instance of ConsumerGroup. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is ConsumerGroup; /** * Consumer group name. */ readonly consumerGroupName: pulumi.Output; /** * Heartbeat timeout in seconds. Value range: 1~300. */ readonly heartbeatTtl: pulumi.Output; /** * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately. */ readonly orderedConsume: pulumi.Output; /** * ID of the log project to which the consumer group belongs. */ readonly projectId: pulumi.Output; /** * Name of the log project to which the consumer group belongs. */ readonly projectName: pulumi.Output; /** * List of log topic IDs to be consumed by the consumer group. */ readonly topicIdLists: pulumi.Output; /** * Create a ConsumerGroup resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: ConsumerGroupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering ConsumerGroup resources. */ export interface ConsumerGroupState { /** * Consumer group name. */ consumerGroupName?: pulumi.Input; /** * Heartbeat timeout in seconds. Value range: 1~300. */ heartbeatTtl?: pulumi.Input; /** * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately. */ orderedConsume?: pulumi.Input; /** * ID of the log project to which the consumer group belongs. */ projectId?: pulumi.Input; /** * Name of the log project to which the consumer group belongs. */ projectName?: pulumi.Input; /** * List of log topic IDs to be consumed by the consumer group. */ topicIdLists?: pulumi.Input[]>; } /** * The set of arguments for constructing a ConsumerGroup resource. */ export interface ConsumerGroupArgs { /** * Consumer group name. */ consumerGroupName: pulumi.Input; /** * Heartbeat timeout in seconds. Value range: 1~300. */ heartbeatTtl: pulumi.Input; /** * Whether to consume in order. true: Consume in order within the Shard. After a Shard splits, finish consuming data from the original Shard first, then consume data from the new Shards created by the split in parallel. After a Shard merges, finish consuming data from the original Shard first, then consume data from the new Shard created by the merge. false: Do not consume in order. All Shards are consumed simultaneously, and any new Shards created by splitting or merging are also consumed immediately. */ orderedConsume: pulumi.Input; /** * ID of the log project to which the consumer group belongs. */ projectId: pulumi.Input; /** * List of log topic IDs to be consumed by the consumer group. */ topicIdLists: pulumi.Input[]>; }