Interface ConsumerGroupReplication.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConsumerGroupReplication.Builder,,ConsumerGroupReplication> SdkBuilder<ConsumerGroupReplication.Builder,,ConsumerGroupReplication> SdkPojo
- Enclosing class:
ConsumerGroupReplication
-
Method Summary
Modifier and TypeMethodDescriptionconsumerGroupOffsetSyncMode(String consumerGroupOffsetSyncMode) The consumer group offset synchronization mode.consumerGroupOffsetSyncMode(ConsumerGroupOffsetSyncMode consumerGroupOffsetSyncMode) The consumer group offset synchronization mode.consumerGroupsToExclude(String... consumerGroupsToExclude) List of regular expression patterns indicating the consumer groups that should not be replicated.consumerGroupsToExclude(Collection<String> consumerGroupsToExclude) List of regular expression patterns indicating the consumer groups that should not be replicated.consumerGroupsToReplicate(String... consumerGroupsToReplicate) List of regular expression patterns indicating the consumer groups to copy.consumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate) List of regular expression patterns indicating the consumer groups to copy.detectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups) Enables synchronization of consumer groups to target cluster.synchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets) Enables synchronization of consumer group offsets to target cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
consumerGroupsToExclude
ConsumerGroupReplication.Builder consumerGroupsToExclude(Collection<String> consumerGroupsToExclude) List of regular expression patterns indicating the consumer groups that should not be replicated.
- Parameters:
consumerGroupsToExclude- List of regular expression patterns indicating the consumer groups that should not be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupsToExclude
List of regular expression patterns indicating the consumer groups that should not be replicated.
- Parameters:
consumerGroupsToExclude- List of regular expression patterns indicating the consumer groups that should not be replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupsToReplicate
ConsumerGroupReplication.Builder consumerGroupsToReplicate(Collection<String> consumerGroupsToReplicate) List of regular expression patterns indicating the consumer groups to copy.
- Parameters:
consumerGroupsToReplicate- List of regular expression patterns indicating the consumer groups to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupsToReplicate
List of regular expression patterns indicating the consumer groups to copy.
- Parameters:
consumerGroupsToReplicate- List of regular expression patterns indicating the consumer groups to copy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectAndCopyNewConsumerGroups
ConsumerGroupReplication.Builder detectAndCopyNewConsumerGroups(Boolean detectAndCopyNewConsumerGroups) Enables synchronization of consumer groups to target cluster.
- Parameters:
detectAndCopyNewConsumerGroups- Enables synchronization of consumer groups to target cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
synchroniseConsumerGroupOffsets
ConsumerGroupReplication.Builder synchroniseConsumerGroupOffsets(Boolean synchroniseConsumerGroupOffsets) Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.
- Parameters:
synchroniseConsumerGroupOffsets- Enables synchronization of consumer group offsets to target cluster. The translated offsets will be written to topic __consumer_offsets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumerGroupOffsetSyncMode
The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.
- Parameters:
consumerGroupOffsetSyncMode- The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumerGroupOffsetSyncMode
ConsumerGroupReplication.Builder consumerGroupOffsetSyncMode(ConsumerGroupOffsetSyncMode consumerGroupOffsetSyncMode) The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.
- Parameters:
consumerGroupOffsetSyncMode- The consumer group offset synchronization mode. With LEGACY, offsets are synchronized when producers write to the source cluster. With ENHANCED, consumer offsets are synchronized regardless of producer location. ENHANCED requires a corresponding replicator that replicates data from the target cluster to the source cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-