confluentcloud.KafkaMirrorTopic
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as confluentcloud from "@pulumi/confluentcloud";
const example = new confluentcloud.KafkaMirrorTopic("example", {
sourceKafkaTopic: {
topicName: "orders",
},
clusterLink: {
linkName: source_outbound.linkName,
},
kafkaCluster: {
id: destination.id,
restEndpoint: destination.restEndpoint,
credentials: {
key: app_manager_destination_cluster_api_key.id,
secret: app_manager_destination_cluster_api_key.secret,
},
},
});
import pulumi
import pulumi_confluentcloud as confluentcloud
example = confluentcloud.KafkaMirrorTopic("example",
source_kafka_topic=confluentcloud.KafkaMirrorTopicSourceKafkaTopicArgs(
topic_name="orders",
),
cluster_link=confluentcloud.KafkaMirrorTopicClusterLinkArgs(
link_name=source_outbound["linkName"],
),
kafka_cluster=confluentcloud.KafkaMirrorTopicKafkaClusterArgs(
id=destination["id"],
rest_endpoint=destination["restEndpoint"],
credentials=confluentcloud.KafkaMirrorTopicKafkaClusterCredentialsArgs(
key=app_manager_destination_cluster_api_key["id"],
secret=app_manager_destination_cluster_api_key["secret"],
),
))
package main
import (
"github.com/pulumi/pulumi-confluentcloud/sdk/go/confluentcloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := confluentcloud.NewKafkaMirrorTopic(ctx, "example", &confluentcloud.KafkaMirrorTopicArgs{
SourceKafkaTopic: &confluentcloud.KafkaMirrorTopicSourceKafkaTopicArgs{
TopicName: pulumi.String("orders"),
},
ClusterLink: &confluentcloud.KafkaMirrorTopicClusterLinkArgs{
LinkName: pulumi.Any(source_outbound.LinkName),
},
KafkaCluster: &confluentcloud.KafkaMirrorTopicKafkaClusterArgs{
Id: pulumi.Any(destination.Id),
RestEndpoint: pulumi.Any(destination.RestEndpoint),
Credentials: &confluentcloud.KafkaMirrorTopicKafkaClusterCredentialsArgs{
Key: pulumi.Any(app_manager_destination_cluster_api_key.Id),
Secret: pulumi.Any(app_manager_destination_cluster_api_key.Secret),
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using ConfluentCloud = Pulumi.ConfluentCloud;
return await Deployment.RunAsync(() =>
{
var example = new ConfluentCloud.KafkaMirrorTopic("example", new()
{
SourceKafkaTopic = new ConfluentCloud.Inputs.KafkaMirrorTopicSourceKafkaTopicArgs
{
TopicName = "orders",
},
ClusterLink = new ConfluentCloud.Inputs.KafkaMirrorTopicClusterLinkArgs
{
LinkName = source_outbound.LinkName,
},
KafkaCluster = new ConfluentCloud.Inputs.KafkaMirrorTopicKafkaClusterArgs
{
Id = destination.Id,
RestEndpoint = destination.RestEndpoint,
Credentials = new ConfluentCloud.Inputs.KafkaMirrorTopicKafkaClusterCredentialsArgs
{
Key = app_manager_destination_cluster_api_key.Id,
Secret = app_manager_destination_cluster_api_key.Secret,
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.confluentcloud.KafkaMirrorTopic;
import com.pulumi.confluentcloud.KafkaMirrorTopicArgs;
import com.pulumi.confluentcloud.inputs.KafkaMirrorTopicSourceKafkaTopicArgs;
import com.pulumi.confluentcloud.inputs.KafkaMirrorTopicClusterLinkArgs;
import com.pulumi.confluentcloud.inputs.KafkaMirrorTopicKafkaClusterArgs;
import com.pulumi.confluentcloud.inputs.KafkaMirrorTopicKafkaClusterCredentialsArgs;
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) {
var example = new KafkaMirrorTopic("example", KafkaMirrorTopicArgs.builder()
.sourceKafkaTopic(KafkaMirrorTopicSourceKafkaTopicArgs.builder()
.topicName("orders")
.build())
.clusterLink(KafkaMirrorTopicClusterLinkArgs.builder()
.linkName(source_outbound.linkName())
.build())
.kafkaCluster(KafkaMirrorTopicKafkaClusterArgs.builder()
.id(destination.id())
.restEndpoint(destination.restEndpoint())
.credentials(KafkaMirrorTopicKafkaClusterCredentialsArgs.builder()
.key(app_manager_destination_cluster_api_key.id())
.secret(app_manager_destination_cluster_api_key.secret())
.build())
.build())
.build());
}
}
resources:
example:
type: confluentcloud:KafkaMirrorTopic
properties:
sourceKafkaTopic:
topicName: orders
clusterLink:
linkName: ${["source-outbound"].linkName}
kafkaCluster:
id: ${destination.id}
restEndpoint: ${destination.restEndpoint}
credentials:
key: ${["app-manager-destination-cluster-api-key"].id}
secret: ${["app-manager-destination-cluster-api-key"].secret}
Getting Started
The following end-to-end examples might help to get started with confluentcloud.KafkaMirrorTopic
resource:
destination-initiated-cluster-link-rbac
: An example of setting up a destination initiated cluster link with a mirror topicsource-initiated-cluster-link-rbac
: An example of setting up a source initiated cluster link with a mirror topic
See Mirror Topics on Confluent Cloud to learn more about Mirror Topics on Confluent Cloud.
Create KafkaMirrorTopic Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new KafkaMirrorTopic(name: string, args: KafkaMirrorTopicArgs, opts?: CustomResourceOptions);
@overload
def KafkaMirrorTopic(resource_name: str,
args: KafkaMirrorTopicArgs,
opts: Optional[ResourceOptions] = None)
@overload
def KafkaMirrorTopic(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_link: Optional[KafkaMirrorTopicClusterLinkArgs] = None,
kafka_cluster: Optional[KafkaMirrorTopicKafkaClusterArgs] = None,
source_kafka_topic: Optional[KafkaMirrorTopicSourceKafkaTopicArgs] = None,
mirror_topic_name: Optional[str] = None,
status: Optional[str] = None)
func NewKafkaMirrorTopic(ctx *Context, name string, args KafkaMirrorTopicArgs, opts ...ResourceOption) (*KafkaMirrorTopic, error)
public KafkaMirrorTopic(string name, KafkaMirrorTopicArgs args, CustomResourceOptions? opts = null)
public KafkaMirrorTopic(String name, KafkaMirrorTopicArgs args)
public KafkaMirrorTopic(String name, KafkaMirrorTopicArgs args, CustomResourceOptions options)
type: confluentcloud:KafkaMirrorTopic
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args KafkaMirrorTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args KafkaMirrorTopicArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args KafkaMirrorTopicArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args KafkaMirrorTopicArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args KafkaMirrorTopicArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var kafkaMirrorTopicResource = new ConfluentCloud.KafkaMirrorTopic("kafkaMirrorTopicResource", new()
{
ClusterLink = new ConfluentCloud.Inputs.KafkaMirrorTopicClusterLinkArgs
{
LinkName = "string",
},
KafkaCluster = new ConfluentCloud.Inputs.KafkaMirrorTopicKafkaClusterArgs
{
Id = "string",
Credentials = new ConfluentCloud.Inputs.KafkaMirrorTopicKafkaClusterCredentialsArgs
{
Key = "string",
Secret = "string",
},
RestEndpoint = "string",
},
SourceKafkaTopic = new ConfluentCloud.Inputs.KafkaMirrorTopicSourceKafkaTopicArgs
{
TopicName = "string",
},
MirrorTopicName = "string",
Status = "string",
});
example, err := confluentcloud.NewKafkaMirrorTopic(ctx, "kafkaMirrorTopicResource", &confluentcloud.KafkaMirrorTopicArgs{
ClusterLink: &confluentcloud.KafkaMirrorTopicClusterLinkArgs{
LinkName: pulumi.String("string"),
},
KafkaCluster: &confluentcloud.KafkaMirrorTopicKafkaClusterArgs{
Id: pulumi.String("string"),
Credentials: &confluentcloud.KafkaMirrorTopicKafkaClusterCredentialsArgs{
Key: pulumi.String("string"),
Secret: pulumi.String("string"),
},
RestEndpoint: pulumi.String("string"),
},
SourceKafkaTopic: &confluentcloud.KafkaMirrorTopicSourceKafkaTopicArgs{
TopicName: pulumi.String("string"),
},
MirrorTopicName: pulumi.String("string"),
Status: pulumi.String("string"),
})
var kafkaMirrorTopicResource = new KafkaMirrorTopic("kafkaMirrorTopicResource", KafkaMirrorTopicArgs.builder()
.clusterLink(KafkaMirrorTopicClusterLinkArgs.builder()
.linkName("string")
.build())
.kafkaCluster(KafkaMirrorTopicKafkaClusterArgs.builder()
.id("string")
.credentials(KafkaMirrorTopicKafkaClusterCredentialsArgs.builder()
.key("string")
.secret("string")
.build())
.restEndpoint("string")
.build())
.sourceKafkaTopic(KafkaMirrorTopicSourceKafkaTopicArgs.builder()
.topicName("string")
.build())
.mirrorTopicName("string")
.status("string")
.build());
kafka_mirror_topic_resource = confluentcloud.KafkaMirrorTopic("kafkaMirrorTopicResource",
cluster_link=confluentcloud.KafkaMirrorTopicClusterLinkArgs(
link_name="string",
),
kafka_cluster=confluentcloud.KafkaMirrorTopicKafkaClusterArgs(
id="string",
credentials=confluentcloud.KafkaMirrorTopicKafkaClusterCredentialsArgs(
key="string",
secret="string",
),
rest_endpoint="string",
),
source_kafka_topic=confluentcloud.KafkaMirrorTopicSourceKafkaTopicArgs(
topic_name="string",
),
mirror_topic_name="string",
status="string")
const kafkaMirrorTopicResource = new confluentcloud.KafkaMirrorTopic("kafkaMirrorTopicResource", {
clusterLink: {
linkName: "string",
},
kafkaCluster: {
id: "string",
credentials: {
key: "string",
secret: "string",
},
restEndpoint: "string",
},
sourceKafkaTopic: {
topicName: "string",
},
mirrorTopicName: "string",
status: "string",
});
type: confluentcloud:KafkaMirrorTopic
properties:
clusterLink:
linkName: string
kafkaCluster:
credentials:
key: string
secret: string
id: string
restEndpoint: string
mirrorTopicName: string
sourceKafkaTopic:
topicName: string
status: string
KafkaMirrorTopic Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The KafkaMirrorTopic resource accepts the following input properties:
- Cluster
Link Pulumi.Confluent Cloud. Inputs. Kafka Mirror Topic Cluster Link - Kafka
Cluster Pulumi.Confluent Cloud. Inputs. Kafka Mirror Topic Kafka Cluster - Source
Kafka Pulumi.Topic Confluent Cloud. Inputs. Kafka Mirror Topic Source Kafka Topic - Mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - Status string
- Cluster
Link KafkaMirror Topic Cluster Link Args - Kafka
Cluster KafkaMirror Topic Kafka Cluster Args - Source
Kafka KafkaTopic Mirror Topic Source Kafka Topic Args - Mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - Status string
- cluster
Link KafkaMirror Topic Cluster Link - kafka
Cluster KafkaMirror Topic Kafka Cluster - source
Kafka KafkaTopic Mirror Topic Source Kafka Topic - mirror
Topic StringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - status String
- cluster
Link KafkaMirror Topic Cluster Link - kafka
Cluster KafkaMirror Topic Kafka Cluster - source
Kafka KafkaTopic Mirror Topic Source Kafka Topic - mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - status string
- cluster_
link KafkaMirror Topic Cluster Link Args - kafka_
cluster KafkaMirror Topic Kafka Cluster Args - source_
kafka_ Kafkatopic Mirror Topic Source Kafka Topic Args - mirror_
topic_ strname - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - status str
- cluster
Link Property Map - kafka
Cluster Property Map - source
Kafka Property MapTopic - mirror
Topic StringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - status String
Outputs
All input properties are implicitly available as output properties. Additionally, the KafkaMirrorTopic resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing KafkaMirrorTopic Resource
Get an existing KafkaMirrorTopic resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: KafkaMirrorTopicState, opts?: CustomResourceOptions): KafkaMirrorTopic
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
cluster_link: Optional[KafkaMirrorTopicClusterLinkArgs] = None,
kafka_cluster: Optional[KafkaMirrorTopicKafkaClusterArgs] = None,
mirror_topic_name: Optional[str] = None,
source_kafka_topic: Optional[KafkaMirrorTopicSourceKafkaTopicArgs] = None,
status: Optional[str] = None) -> KafkaMirrorTopic
func GetKafkaMirrorTopic(ctx *Context, name string, id IDInput, state *KafkaMirrorTopicState, opts ...ResourceOption) (*KafkaMirrorTopic, error)
public static KafkaMirrorTopic Get(string name, Input<string> id, KafkaMirrorTopicState? state, CustomResourceOptions? opts = null)
public static KafkaMirrorTopic get(String name, Output<String> id, KafkaMirrorTopicState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Cluster
Link Pulumi.Confluent Cloud. Inputs. Kafka Mirror Topic Cluster Link - Kafka
Cluster Pulumi.Confluent Cloud. Inputs. Kafka Mirror Topic Kafka Cluster - Mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - Source
Kafka Pulumi.Topic Confluent Cloud. Inputs. Kafka Mirror Topic Source Kafka Topic - Status string
- Cluster
Link KafkaMirror Topic Cluster Link Args - Kafka
Cluster KafkaMirror Topic Kafka Cluster Args - Mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - Source
Kafka KafkaTopic Mirror Topic Source Kafka Topic Args - Status string
- cluster
Link KafkaMirror Topic Cluster Link - kafka
Cluster KafkaMirror Topic Kafka Cluster - mirror
Topic StringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - source
Kafka KafkaTopic Mirror Topic Source Kafka Topic - status String
- cluster
Link KafkaMirror Topic Cluster Link - kafka
Cluster KafkaMirror Topic Kafka Cluster - mirror
Topic stringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - source
Kafka KafkaTopic Mirror Topic Source Kafka Topic - status string
- cluster_
link KafkaMirror Topic Cluster Link Args - kafka_
cluster KafkaMirror Topic Kafka Cluster Args - mirror_
topic_ strname - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - source_
kafka_ Kafkatopic Mirror Topic Source Kafka Topic Args - status str
- cluster
Link Property Map - kafka
Cluster Property Map - mirror
Topic StringName - The name of the mirror topic. Only required when there is a prefix configured on the cluster link. For example, when
<prefix>
is configured for the cluster link, the mirror topic name has to be of the format<prefix><source_topic_name>
. - source
Kafka Property MapTopic - status String
Supporting Types
KafkaMirrorTopicClusterLink, KafkaMirrorTopicClusterLinkArgs
- Link
Name string - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
- Link
Name string - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
- link
Name String - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
- link
Name string - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
- link_
name str - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
- link
Name String - The name of the cluster link to attach to the mirror topic, for example,
my-cluster-link
.
KafkaMirrorTopicKafkaCluster, KafkaMirrorTopicKafkaClusterArgs
- Id string
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - Credentials
Pulumi.
Confluent Cloud. Inputs. Kafka Mirror Topic Kafka Cluster Credentials - The Kafka API Credentials.
- Rest
Endpoint string - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
- Id string
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - Credentials
Kafka
Mirror Topic Kafka Cluster Credentials - The Kafka API Credentials.
- Rest
Endpoint string - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
- id String
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - credentials
Kafka
Mirror Topic Kafka Cluster Credentials - The Kafka API Credentials.
- rest
Endpoint String - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
- id string
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - credentials
Kafka
Mirror Topic Kafka Cluster Credentials - The Kafka API Credentials.
- rest
Endpoint string - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
- id str
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - credentials
Kafka
Mirror Topic Kafka Cluster Credentials - The Kafka API Credentials.
- rest_
endpoint str - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
- id String
- The ID of the destination Kafka cluster, for example,
lkc-abc123
. - credentials Property Map
- The Kafka API Credentials.
- rest
Endpoint String - The REST endpoint of the destination Kafka cluster, for example,
https://pkc-00000.us-central1.gcp.confluent.cloud:443
).
KafkaMirrorTopicKafkaClusterCredentials, KafkaMirrorTopicKafkaClusterCredentialsArgs
KafkaMirrorTopicSourceKafkaTopic, KafkaMirrorTopicSourceKafkaTopicArgs
- Topic
Name string - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
- Topic
Name string - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
- topic
Name String - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
- topic
Name string - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
- topic_
name str - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
- topic
Name String - The name of the topic on the source cluster to be mirrored over the cluster link, for example,
orders
. A topic with the exact same name must exist on the source cluster, and no topic with this name should exist on the destination cluster.
Import
You can import a Kafka mirror topic by using the Kafka cluster ID, cluster link name, and Kafka topic name in the format <Kafka cluster ID>/<Cluster link name>/<Kafka topic name>
, for example:
$ export IMPORT_KAFKA_API_KEY="<kafka_api_key>"
$ export IMPORT_KAFKA_API_SECRET="<kafka_api_secret>"
$ export IMPORT_KAFKA_REST_ENDPOINT="<kafka_rest_endpoint>"
$ pulumi import confluentcloud:index/kafkaMirrorTopic:KafkaMirrorTopic my_mirror_topic lkc-abc123/my-cluster-link/orders-123
!> Warning: Do not forget to delete terminal command history afterwards for security purposes.
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Confluent Cloud pulumi/pulumi-confluentcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
confluent
Terraform Provider.