interface ConsumerGroupReplicationProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.MSK.CfnReplicator.ConsumerGroupReplicationProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnReplicator_ConsumerGroupReplicationProperty |
![]() | software.amazon.awscdk.services.msk.CfnReplicator.ConsumerGroupReplicationProperty |
![]() | aws_cdk.aws_msk.CfnReplicator.ConsumerGroupReplicationProperty |
![]() | aws-cdk-lib » aws_msk » CfnReplicator » ConsumerGroupReplicationProperty |
Details about consumer group replication.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_msk as msk } from 'aws-cdk-lib';
const consumerGroupReplicationProperty: msk.CfnReplicator.ConsumerGroupReplicationProperty = {
consumerGroupsToReplicate: ['consumerGroupsToReplicate'],
// the properties below are optional
consumerGroupsToExclude: ['consumerGroupsToExclude'],
detectAndCopyNewConsumerGroups: false,
synchroniseConsumerGroupOffsets: false,
};
Properties
Name | Type | Description |
---|---|---|
consumer | string[] | List of regular expression patterns indicating the consumer groups to copy. |
consumer | string[] | List of regular expression patterns indicating the consumer groups that should not be replicated. |
detect | boolean | IResolvable | Enables synchronization of consumer groups to target cluster. |
synchronise | boolean | IResolvable | Enables synchronization of consumer group offsets to target cluster. |
consumerGroupsToReplicate
Type:
string[]
List of regular expression patterns indicating the consumer groups to copy.
consumerGroupsToExclude?
Type:
string[]
(optional)
List of regular expression patterns indicating the consumer groups that should not be replicated.
detectAndCopyNewConsumerGroups?
Type:
boolean |
IResolvable
(optional)
Enables synchronization of consumer groups to target cluster.
synchroniseConsumerGroupOffsets?
Type:
boolean |
IResolvable
(optional)
Enables synchronization of consumer group offsets to target cluster.
The translated offsets will be written to topic __consumer_offsets.