Class CfnReplicator.ConsumerGroupReplicationProperty
Details about consumer group replication.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnReplicator.ConsumerGroupReplicationProperty : CfnReplicator.IConsumerGroupReplicationProperty
Syntax (vb)
Public Class CfnReplicator.ConsumerGroupReplicationProperty Implements CfnReplicator.IConsumerGroupReplicationProperty
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 consumerGroupReplicationProperty = new ConsumerGroupReplicationProperty {
ConsumerGroupsToReplicate = new [] { "consumerGroupsToReplicate" },
// the properties below are optional
ConsumerGroupsToExclude = new [] { "consumerGroupsToExclude" },
DetectAndCopyNewConsumerGroups = false,
SynchroniseConsumerGroupOffsets = false
};
Synopsis
Constructors
ConsumerGroupReplicationProperty() | Details about consumer group replication. |
Properties
ConsumerGroupsToExclude | List of regular expression patterns indicating the consumer groups that should not be replicated. |
ConsumerGroupsToReplicate | List of regular expression patterns indicating the consumer groups to copy. |
DetectAndCopyNewConsumerGroups | Enables synchronization of consumer groups to target cluster. |
SynchroniseConsumerGroupOffsets | Enables synchronization of consumer group offsets to target cluster. |
Constructors
ConsumerGroupReplicationProperty()
Details about consumer group replication.
public ConsumerGroupReplicationProperty()
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 consumerGroupReplicationProperty = new ConsumerGroupReplicationProperty {
ConsumerGroupsToReplicate = new [] { "consumerGroupsToReplicate" },
// the properties below are optional
ConsumerGroupsToExclude = new [] { "consumerGroupsToExclude" },
DetectAndCopyNewConsumerGroups = false,
SynchroniseConsumerGroupOffsets = false
};
Properties
ConsumerGroupsToExclude
List of regular expression patterns indicating the consumer groups that should not be replicated.
public string[]? ConsumerGroupsToExclude { get; set; }
Property Value
string[]
Remarks
ConsumerGroupsToReplicate
List of regular expression patterns indicating the consumer groups to copy.
public string[] ConsumerGroupsToReplicate { get; set; }
Property Value
string[]
Remarks
DetectAndCopyNewConsumerGroups
Enables synchronization of consumer groups to target cluster.
public object? DetectAndCopyNewConsumerGroups { get; set; }
Property Value
Remarks
SynchroniseConsumerGroupOffsets
Enables synchronization of consumer group offsets to target cluster.
public object? SynchroniseConsumerGroupOffsets { get; set; }
Property Value
Remarks
The translated offsets will be written to topic __consumer_offsets.