1. Packages
  2. Aiven
  3. API Docs
  4. MirrorMakerReplicationFlow
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

aiven.MirrorMakerReplicationFlow

Explore with Pulumi AI

aiven logo
Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi

    The MirrorMaker 2 Replication Flow resource allows the creation and management of MirrorMaker 2 Replication Flows on Aiven Cloud.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aiven from "@pulumi/aiven";
    
    const f1 = new aiven.MirrorMakerReplicationFlow("f1", {
        project: aiven_project["kafka-mm-project1"].project,
        serviceName: aiven_kafka.mm.service_name,
        sourceCluster: aiven_kafka.source.service_name,
        targetCluster: aiven_kafka.target.service_name,
        enable: true,
        topics: [".*"],
        topicsBlacklists: [
            ".*[\\-\\.]internal",
            ".*\\.replica",
            "__.*",
        ],
    });
    
    import pulumi
    import pulumi_aiven as aiven
    
    f1 = aiven.MirrorMakerReplicationFlow("f1",
        project=aiven_project["kafka-mm-project1"]["project"],
        service_name=aiven_kafka["mm"]["service_name"],
        source_cluster=aiven_kafka["source"]["service_name"],
        target_cluster=aiven_kafka["target"]["service_name"],
        enable=True,
        topics=[".*"],
        topics_blacklists=[
            ".*[\\-\\.]internal",
            ".*\\.replica",
            "__.*",
        ])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewMirrorMakerReplicationFlow(ctx, "f1", &aiven.MirrorMakerReplicationFlowArgs{
    			Project:       pulumi.Any(aiven_project.KafkaMmProject1.Project),
    			ServiceName:   pulumi.Any(aiven_kafka.Mm.Service_name),
    			SourceCluster: pulumi.Any(aiven_kafka.Source.Service_name),
    			TargetCluster: pulumi.Any(aiven_kafka.Target.Service_name),
    			Enable:        pulumi.Bool(true),
    			Topics: pulumi.StringArray{
    				pulumi.String(".*"),
    			},
    			TopicsBlacklists: pulumi.StringArray{
    				pulumi.String(".*[\\-\\.]internal"),
    				pulumi.String(".*\\.replica"),
    				pulumi.String("__.*"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var f1 = new Aiven.MirrorMakerReplicationFlow("f1", new()
        {
            Project = aiven_project.Kafka_mm_project1.Project,
            ServiceName = aiven_kafka.Mm.Service_name,
            SourceCluster = aiven_kafka.Source.Service_name,
            TargetCluster = aiven_kafka.Target.Service_name,
            Enable = true,
            Topics = new[]
            {
                ".*",
            },
            TopicsBlacklists = new[]
            {
                ".*[\\-\\.]internal",
                ".*\\.replica",
                "__.*",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.MirrorMakerReplicationFlow;
    import com.pulumi.aiven.MirrorMakerReplicationFlowArgs;
    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 f1 = new MirrorMakerReplicationFlow("f1", MirrorMakerReplicationFlowArgs.builder()        
                .project(aiven_project.kafka-mm-project1().project())
                .serviceName(aiven_kafka.mm().service_name())
                .sourceCluster(aiven_kafka.source().service_name())
                .targetCluster(aiven_kafka.target().service_name())
                .enable(true)
                .topics(".*")
                .topicsBlacklists(            
                    ".*[\\-\\.]internal",
                    ".*\\.replica",
                    "__.*")
                .build());
    
        }
    }
    
    resources:
      f1:
        type: aiven:MirrorMakerReplicationFlow
        properties:
          project: ${aiven_project"kafka-mm-project1"[%!s(MISSING)].project}
          serviceName: ${aiven_kafka.mm.service_name}
          sourceCluster: ${aiven_kafka.source.service_name}
          targetCluster: ${aiven_kafka.target.service_name}
          enable: true
          topics:
            - .*
          topicsBlacklists:
            - .*[\-\.]internal
            - .*\.replica
            - __.*
    

    Create MirrorMakerReplicationFlow Resource

    new MirrorMakerReplicationFlow(name: string, args: MirrorMakerReplicationFlowArgs, opts?: CustomResourceOptions);
    @overload
    def MirrorMakerReplicationFlow(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   emit_backward_heartbeats_enabled: Optional[bool] = None,
                                   emit_heartbeats_enabled: Optional[bool] = None,
                                   enable: Optional[bool] = None,
                                   offset_syncs_topic_location: Optional[str] = None,
                                   project: Optional[str] = None,
                                   replication_policy_class: Optional[str] = None,
                                   service_name: Optional[str] = None,
                                   source_cluster: Optional[str] = None,
                                   sync_group_offsets_enabled: Optional[bool] = None,
                                   sync_group_offsets_interval_seconds: Optional[int] = None,
                                   target_cluster: Optional[str] = None,
                                   topics: Optional[Sequence[str]] = None,
                                   topics_blacklists: Optional[Sequence[str]] = None)
    @overload
    def MirrorMakerReplicationFlow(resource_name: str,
                                   args: MirrorMakerReplicationFlowArgs,
                                   opts: Optional[ResourceOptions] = None)
    func NewMirrorMakerReplicationFlow(ctx *Context, name string, args MirrorMakerReplicationFlowArgs, opts ...ResourceOption) (*MirrorMakerReplicationFlow, error)
    public MirrorMakerReplicationFlow(string name, MirrorMakerReplicationFlowArgs args, CustomResourceOptions? opts = null)
    public MirrorMakerReplicationFlow(String name, MirrorMakerReplicationFlowArgs args)
    public MirrorMakerReplicationFlow(String name, MirrorMakerReplicationFlowArgs args, CustomResourceOptions options)
    
    type: aiven:MirrorMakerReplicationFlow
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args MirrorMakerReplicationFlowArgs
    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 MirrorMakerReplicationFlowArgs
    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 MirrorMakerReplicationFlowArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args MirrorMakerReplicationFlowArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args MirrorMakerReplicationFlowArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    MirrorMakerReplicationFlow 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 MirrorMakerReplicationFlow resource accepts the following input properties:

    Enable bool
    Enable of disable replication flows for a service.
    OffsetSyncsTopicLocation string
    Offset syncs topic location.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ReplicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    ServiceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    SourceCluster string
    Source cluster alias. Maximum length: 128.
    TargetCluster string
    Target cluster alias. Maximum length: 128.
    EmitBackwardHeartbeatsEnabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    EmitHeartbeatsEnabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    SyncGroupOffsetsEnabled bool
    Sync consumer group offsets. The default value is false.
    SyncGroupOffsetsIntervalSeconds int
    Frequency of consumer group offset sync. The default value is 1.
    Topics List<string>
    List of topics and/or regular expressions to replicate
    TopicsBlacklists List<string>
    List of topics and/or regular expressions to not replicate.
    Enable bool
    Enable of disable replication flows for a service.
    OffsetSyncsTopicLocation string
    Offset syncs topic location.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ReplicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    ServiceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    SourceCluster string
    Source cluster alias. Maximum length: 128.
    TargetCluster string
    Target cluster alias. Maximum length: 128.
    EmitBackwardHeartbeatsEnabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    EmitHeartbeatsEnabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    SyncGroupOffsetsEnabled bool
    Sync consumer group offsets. The default value is false.
    SyncGroupOffsetsIntervalSeconds int
    Frequency of consumer group offset sync. The default value is 1.
    Topics []string
    List of topics and/or regular expressions to replicate
    TopicsBlacklists []string
    List of topics and/or regular expressions to not replicate.
    enable Boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation String
    Offset syncs topic location.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass String
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster String
    Source cluster alias. Maximum length: 128.
    targetCluster String
    Target cluster alias. Maximum length: 128.
    emitBackwardHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    syncGroupOffsetsEnabled Boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds Integer
    Frequency of consumer group offset sync. The default value is 1.
    topics List<String>
    List of topics and/or regular expressions to replicate
    topicsBlacklists List<String>
    List of topics and/or regular expressions to not replicate.
    enable boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation string
    Offset syncs topic location.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster string
    Source cluster alias. Maximum length: 128.
    targetCluster string
    Target cluster alias. Maximum length: 128.
    emitBackwardHeartbeatsEnabled boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    syncGroupOffsetsEnabled boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds number
    Frequency of consumer group offset sync. The default value is 1.
    topics string[]
    List of topics and/or regular expressions to replicate
    topicsBlacklists string[]
    List of topics and/or regular expressions to not replicate.
    enable bool
    Enable of disable replication flows for a service.
    offset_syncs_topic_location str
    Offset syncs topic location.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replication_policy_class str
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    service_name str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    source_cluster str
    Source cluster alias. Maximum length: 128.
    target_cluster str
    Target cluster alias. Maximum length: 128.
    emit_backward_heartbeats_enabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emit_heartbeats_enabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    sync_group_offsets_enabled bool
    Sync consumer group offsets. The default value is false.
    sync_group_offsets_interval_seconds int
    Frequency of consumer group offset sync. The default value is 1.
    topics Sequence[str]
    List of topics and/or regular expressions to replicate
    topics_blacklists Sequence[str]
    List of topics and/or regular expressions to not replicate.
    enable Boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation String
    Offset syncs topic location.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass String
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster String
    Source cluster alias. Maximum length: 128.
    targetCluster String
    Target cluster alias. Maximum length: 128.
    emitBackwardHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    syncGroupOffsetsEnabled Boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds Number
    Frequency of consumer group offset sync. The default value is 1.
    topics List<String>
    List of topics and/or regular expressions to replicate
    topicsBlacklists List<String>
    List of topics and/or regular expressions to not replicate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the MirrorMakerReplicationFlow 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 MirrorMakerReplicationFlow Resource

    Get an existing MirrorMakerReplicationFlow 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?: MirrorMakerReplicationFlowState, opts?: CustomResourceOptions): MirrorMakerReplicationFlow
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            emit_backward_heartbeats_enabled: Optional[bool] = None,
            emit_heartbeats_enabled: Optional[bool] = None,
            enable: Optional[bool] = None,
            offset_syncs_topic_location: Optional[str] = None,
            project: Optional[str] = None,
            replication_policy_class: Optional[str] = None,
            service_name: Optional[str] = None,
            source_cluster: Optional[str] = None,
            sync_group_offsets_enabled: Optional[bool] = None,
            sync_group_offsets_interval_seconds: Optional[int] = None,
            target_cluster: Optional[str] = None,
            topics: Optional[Sequence[str]] = None,
            topics_blacklists: Optional[Sequence[str]] = None) -> MirrorMakerReplicationFlow
    func GetMirrorMakerReplicationFlow(ctx *Context, name string, id IDInput, state *MirrorMakerReplicationFlowState, opts ...ResourceOption) (*MirrorMakerReplicationFlow, error)
    public static MirrorMakerReplicationFlow Get(string name, Input<string> id, MirrorMakerReplicationFlowState? state, CustomResourceOptions? opts = null)
    public static MirrorMakerReplicationFlow get(String name, Output<String> id, MirrorMakerReplicationFlowState 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.
    The following state arguments are supported:
    EmitBackwardHeartbeatsEnabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    EmitHeartbeatsEnabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    Enable bool
    Enable of disable replication flows for a service.
    OffsetSyncsTopicLocation string
    Offset syncs topic location.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ReplicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    ServiceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    SourceCluster string
    Source cluster alias. Maximum length: 128.
    SyncGroupOffsetsEnabled bool
    Sync consumer group offsets. The default value is false.
    SyncGroupOffsetsIntervalSeconds int
    Frequency of consumer group offset sync. The default value is 1.
    TargetCluster string
    Target cluster alias. Maximum length: 128.
    Topics List<string>
    List of topics and/or regular expressions to replicate
    TopicsBlacklists List<string>
    List of topics and/or regular expressions to not replicate.
    EmitBackwardHeartbeatsEnabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    EmitHeartbeatsEnabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    Enable bool
    Enable of disable replication flows for a service.
    OffsetSyncsTopicLocation string
    Offset syncs topic location.
    Project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    ReplicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    ServiceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    SourceCluster string
    Source cluster alias. Maximum length: 128.
    SyncGroupOffsetsEnabled bool
    Sync consumer group offsets. The default value is false.
    SyncGroupOffsetsIntervalSeconds int
    Frequency of consumer group offset sync. The default value is 1.
    TargetCluster string
    Target cluster alias. Maximum length: 128.
    Topics []string
    List of topics and/or regular expressions to replicate
    TopicsBlacklists []string
    List of topics and/or regular expressions to not replicate.
    emitBackwardHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    enable Boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation String
    Offset syncs topic location.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass String
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster String
    Source cluster alias. Maximum length: 128.
    syncGroupOffsetsEnabled Boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds Integer
    Frequency of consumer group offset sync. The default value is 1.
    targetCluster String
    Target cluster alias. Maximum length: 128.
    topics List<String>
    List of topics and/or regular expressions to replicate
    topicsBlacklists List<String>
    List of topics and/or regular expressions to not replicate.
    emitBackwardHeartbeatsEnabled boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    enable boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation string
    Offset syncs topic location.
    project string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass string
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName string
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster string
    Source cluster alias. Maximum length: 128.
    syncGroupOffsetsEnabled boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds number
    Frequency of consumer group offset sync. The default value is 1.
    targetCluster string
    Target cluster alias. Maximum length: 128.
    topics string[]
    List of topics and/or regular expressions to replicate
    topicsBlacklists string[]
    List of topics and/or regular expressions to not replicate.
    emit_backward_heartbeats_enabled bool
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emit_heartbeats_enabled bool
    Whether to emit heartbeats to the target cluster. The default value is false.
    enable bool
    Enable of disable replication flows for a service.
    offset_syncs_topic_location str
    Offset syncs topic location.
    project str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replication_policy_class str
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    service_name str
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    source_cluster str
    Source cluster alias. Maximum length: 128.
    sync_group_offsets_enabled bool
    Sync consumer group offsets. The default value is false.
    sync_group_offsets_interval_seconds int
    Frequency of consumer group offset sync. The default value is 1.
    target_cluster str
    Target cluster alias. Maximum length: 128.
    topics Sequence[str]
    List of topics and/or regular expressions to replicate
    topics_blacklists Sequence[str]
    List of topics and/or regular expressions to not replicate.
    emitBackwardHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the direction opposite to the flow, i.e. to the source cluster. The default value is false.
    emitHeartbeatsEnabled Boolean
    Whether to emit heartbeats to the target cluster. The default value is false.
    enable Boolean
    Enable of disable replication flows for a service.
    offsetSyncsTopicLocation String
    Offset syncs topic location.
    project String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    replicationPolicyClass String
    Replication policy class. The possible values are org.apache.kafka.connect.mirror.DefaultReplicationPolicy and org.apache.kafka.connect.mirror.IdentityReplicationPolicy. The default value is org.apache.kafka.connect.mirror.DefaultReplicationPolicy.
    serviceName String
    Identifies the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
    sourceCluster String
    Source cluster alias. Maximum length: 128.
    syncGroupOffsetsEnabled Boolean
    Sync consumer group offsets. The default value is false.
    syncGroupOffsetsIntervalSeconds Number
    Frequency of consumer group offset sync. The default value is 1.
    targetCluster String
    Target cluster alias. Maximum length: 128.
    topics List<String>
    List of topics and/or regular expressions to replicate
    topicsBlacklists List<String>
    List of topics and/or regular expressions to not replicate.

    Import

    $ pulumi import aiven:index/mirrorMakerReplicationFlow:MirrorMakerReplicationFlow f1 project/service_name/source_cluster/target_cluster
    

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo
    Aiven v6.13.0 published on Monday, Mar 25, 2024 by Pulumi