interface ReplicationInfoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.MSK.Mixins.CfnReplicatorPropsMixin.ReplicationInfoProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsmsk/mixins#CfnReplicatorPropsMixin_ReplicationInfoProperty |
Java | software.amazon.awscdk.mixins.preview.services.msk.mixins.CfnReplicatorPropsMixin.ReplicationInfoProperty |
Python | aws_cdk.mixins_preview.aws_msk.mixins.CfnReplicatorPropsMixin.ReplicationInfoProperty |
TypeScript | @aws-cdk/mixins-preview » aws_msk » mixins » CfnReplicatorPropsMixin » ReplicationInfoProperty |
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 { mixins as msk_mixins } from '@aws-cdk/mixins-preview/aws-msk';
const replicationInfoProperty: msk_mixins.CfnReplicatorPropsMixin.ReplicationInfoProperty = {
consumerGroupReplication: {
consumerGroupsToExclude: ['consumerGroupsToExclude'],
consumerGroupsToReplicate: ['consumerGroupsToReplicate'],
detectAndCopyNewConsumerGroups: false,
synchroniseConsumerGroupOffsets: false,
},
sourceKafkaClusterArn: 'sourceKafkaClusterArn',
targetCompressionType: 'targetCompressionType',
targetKafkaClusterArn: 'targetKafkaClusterArn',
topicReplication: {
copyAccessControlListsForTopics: false,
copyTopicConfigurations: false,
detectAndCopyNewTopics: false,
startingPosition: {
type: 'type',
},
topicNameConfiguration: {
type: 'type',
},
topicsToExclude: ['topicsToExclude'],
topicsToReplicate: ['topicsToReplicate'],
},
};
Properties
| Name | Type | Description |
|---|---|---|
| consumer | IResolvable | Consumer | Configuration relating to consumer group replication. |
| source | string | The ARN of the source Kafka cluster. |
| target | string | The compression type to use when producing records to target cluster. |
| target | string | The ARN of the target Kafka cluster. |
| topic | IResolvable | Topic | Configuration relating to topic replication. |
consumerGroupReplication?
Type:
IResolvable | Consumer
(optional)
Configuration relating to consumer group replication.
sourceKafkaClusterArn?
Type:
string
(optional)
The ARN of the source Kafka cluster.
targetCompressionType?
Type:
string
(optional)
The compression type to use when producing records to target cluster.
targetKafkaClusterArn?
Type:
string
(optional)
The ARN of the target Kafka cluster.
topicReplication?
Type:
IResolvable | Topic
(optional)
Configuration relating to topic replication.

.NET
Go
Java
Python
TypeScript