interface ConsumerGroupReplicationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MSK.CfnReplicator.ConsumerGroupReplicationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsmsk#CfnReplicator_ConsumerGroupReplicationProperty |
Java | software.amazon.awscdk.services.msk.CfnReplicator.ConsumerGroupReplicationProperty |
Python | aws_cdk.aws_msk.CfnReplicator.ConsumerGroupReplicationProperty |
TypeScript | 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.

.NET
Go
Java
Python
TypeScript