Class CfnReplicator.ReplicationInfoProperty
Specifies configuration for replication between a source and target Kafka cluster.
Inheritance
System.Object
CfnReplicator.ReplicationInfoProperty
Implements
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ReplicationInfoProperty : Object, CfnReplicator.IReplicationInfoProperty
Syntax (vb)
Public Class ReplicationInfoProperty
Inherits Object
Implements CfnReplicator.IReplicationInfoProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MSK;
var replicationInfoProperty = new ReplicationInfoProperty {
ConsumerGroupReplication = new ConsumerGroupReplicationProperty {
ConsumerGroupsToReplicate = new [] { "consumerGroupsToReplicate" },
// the properties below are optional
ConsumerGroupsToExclude = new [] { "consumerGroupsToExclude" },
DetectAndCopyNewConsumerGroups = false,
SynchroniseConsumerGroupOffsets = false
},
SourceKafkaClusterArn = "sourceKafkaClusterArn",
TargetCompressionType = "targetCompressionType",
TargetKafkaClusterArn = "targetKafkaClusterArn",
TopicReplication = new TopicReplicationProperty {
TopicsToReplicate = new [] { "topicsToReplicate" },
// the properties below are optional
CopyAccessControlListsForTopics = false,
CopyTopicConfigurations = false,
DetectAndCopyNewTopics = false,
StartingPosition = new ReplicationStartingPositionProperty {
Type = "type"
},
TopicsToExclude = new [] { "topicsToExclude" }
}
};
Synopsis
Constructors
ReplicationInfoProperty() |
Properties
ConsumerGroupReplication | Configuration relating to consumer group replication. |
SourceKafkaClusterArn | Amazon Resource Name of the source Kafka cluster. |
TargetCompressionType | The type of compression to use writing records to target Kafka cluster. |
TargetKafkaClusterArn | Amazon Resource Name of the target Kafka cluster. |
TopicReplication |
Constructors
ReplicationInfoProperty()
public ReplicationInfoProperty()
Properties
ConsumerGroupReplication
Configuration relating to consumer group replication.
public object ConsumerGroupReplication { get; set; }
Property Value
System.Object
Remarks
SourceKafkaClusterArn
Amazon Resource Name of the source Kafka cluster.
public string SourceKafkaClusterArn { get; set; }
Property Value
System.String
Remarks
TargetCompressionType
The type of compression to use writing records to target Kafka cluster.
public string TargetCompressionType { get; set; }
Property Value
System.String
Remarks
TargetKafkaClusterArn
Amazon Resource Name of the target Kafka cluster.
public string TargetKafkaClusterArn { get; set; }
Property Value
System.String
Remarks
TopicReplication
public object TopicReplication { get; set; }
Property Value
System.Object