Class CfnReplicator.ConsumerGroupReplicationProperty
Details about consumer group replication.
Inheritance
Namespace: Amazon.CDK.AWS.MSK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ConsumerGroupReplicationProperty : Object, CfnReplicator.IConsumerGroupReplicationProperty
Syntax (vb)
Public Class ConsumerGroupReplicationProperty
Inherits Object
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
Consumer |
Properties
Consumer |
List of regular expression patterns indicating the consumer groups that should not be replicated. |
Consumer |
List of regular expression patterns indicating the consumer groups to copy. |
Detect |
Enables synchronization of consumer groups to target cluster. |
Synchronise |
Enables synchronization of consumer group offsets to target cluster. |
Constructors
ConsumerGroupReplicationProperty()
public ConsumerGroupReplicationProperty()
Properties
ConsumerGroupsToExclude
List of regular expression patterns indicating the consumer groups that should not be replicated.
public string[] ConsumerGroupsToExclude { get; set; }
Property Value
System.
Remarks
ConsumerGroupsToReplicate
List of regular expression patterns indicating the consumer groups to copy.
public string[] ConsumerGroupsToReplicate { get; set; }
Property Value
System.
Remarks
DetectAndCopyNewConsumerGroups
Enables synchronization of consumer groups to target cluster.
public object DetectAndCopyNewConsumerGroups { get; set; }
Property Value
System.
Remarks
SynchroniseConsumerGroupOffsets
Enables synchronization of consumer group offsets to target cluster.
public object SynchroniseConsumerGroupOffsets { get; set; }
Property Value
System.
Remarks
The translated offsets will be written to topic __consumer_offsets.