Class CfnReplicator.ConsumerGroupReplicationProperty
Configuration relating to 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
ConsumerGroupReplicationProperty() |
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 | Whether to periodically check for new consumer groups. |
SynchroniseConsumerGroupOffsets | Whether to periodically write the translated offsets to __consumer_offsets topic in 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.String[]
Remarks
ConsumerGroupsToReplicate
List of regular expression patterns indicating the consumer groups to copy.
public string[] ConsumerGroupsToReplicate { get; set; }
Property Value
System.String[]
Remarks
DetectAndCopyNewConsumerGroups
Whether to periodically check for new consumer groups.
public object DetectAndCopyNewConsumerGroups { get; set; }
Property Value
System.Object
Remarks
SynchroniseConsumerGroupOffsets
Whether to periodically write the translated offsets to __consumer_offsets topic in target cluster.
public object SynchroniseConsumerGroupOffsets { get; set; }
Property Value
System.Object