Interface CfnReplicator.IReplicationInfoProperty
Specifies configuration for replication between a source and target Kafka cluster.
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IReplicationInfoProperty
Syntax (vb)
Public Interface 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
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 |
Properties
ConsumerGroupReplication
Configuration relating to consumer group replication.
object ConsumerGroupReplication { get; }
Property Value
System.Object
Remarks
SourceKafkaClusterArn
Amazon Resource Name of the source Kafka cluster.
string SourceKafkaClusterArn { get; }
Property Value
System.String
Remarks
TargetCompressionType
The type of compression to use writing records to target Kafka cluster.
string TargetCompressionType { get; }
Property Value
System.String
Remarks
TargetKafkaClusterArn
Amazon Resource Name of the target Kafka cluster.
string TargetKafkaClusterArn { get; }
Property Value
System.String
Remarks
TopicReplication
object TopicReplication { get; }
Property Value
System.Object