Interface CfnReplicator.ReplicationInfoProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnReplicator.ReplicationInfoProperty.Jsii$Proxy
- Enclosing class:
CfnReplicator
@Stability(Stable)
public static interface CfnReplicator.ReplicationInfoProperty
extends software.amazon.jsii.JsiiSerializable
Specifies configuration for replication between a source and target Kafka cluster.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.msk.*; ReplicationInfoProperty replicationInfoProperty = ReplicationInfoProperty.builder() .consumerGroupReplication(ConsumerGroupReplicationProperty.builder() .consumerGroupsToReplicate(List.of("consumerGroupsToReplicate")) // the properties below are optional .consumerGroupsToExclude(List.of("consumerGroupsToExclude")) .detectAndCopyNewConsumerGroups(false) .synchroniseConsumerGroupOffsets(false) .build()) .sourceKafkaClusterArn("sourceKafkaClusterArn") .targetCompressionType("targetCompressionType") .targetKafkaClusterArn("targetKafkaClusterArn") .topicReplication(TopicReplicationProperty.builder() .topicsToReplicate(List.of("topicsToReplicate")) // the properties below are optional .copyAccessControlListsForTopics(false) .copyTopicConfigurations(false) .detectAndCopyNewTopics(false) .startingPosition(ReplicationStartingPositionProperty.builder() .type("type") .build()) .topicNameConfiguration(ReplicationTopicNameConfigurationProperty.builder() .type("type") .build()) .topicsToExclude(List.of("topicsToExclude")) .build()) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnReplicator.ReplicationInfoProperty
static final class
An implementation forCfnReplicator.ReplicationInfoProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Configuration relating to consumer group replication.The ARN of the source Kafka cluster.The compression type to use when producing records to target cluster.The ARN of the target Kafka cluster.Configuration relating to topic replication.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsumerGroupReplication
Configuration relating to consumer group replication.- See Also:
-
getSourceKafkaClusterArn
The ARN of the source Kafka cluster.- See Also:
-
getTargetCompressionType
The compression type to use when producing records to target cluster.- See Also:
-
getTargetKafkaClusterArn
The ARN of the target Kafka cluster.- See Also:
-
getTopicReplication
Configuration relating to topic replication.- See Also:
-
builder
-