Class DefaultReplicationPolicy

java.lang.Object
org.apache.kafka.connect.mirror.DefaultReplicationPolicy
All Implemented Interfaces:
Configurable, ReplicationPolicy
Direct Known Subclasses:
IdentityReplicationPolicy

public class DefaultReplicationPolicy extends Object implements ReplicationPolicy, Configurable
Default implementation of ReplicationPolicy which prepends the source cluster alias to remote topic names. For example, if the source cluster alias is "us-west", topics created in the target cluster will be named us-west.<TOPIC>. The separator is customizable by setting SEPARATOR_CONFIG and defaults to a period.
  • Field Details

    • SEPARATOR_CONFIG

      public static final String SEPARATOR_CONFIG
      See Also:
    • SEPARATOR_DEFAULT

      public static final String SEPARATOR_DEFAULT
      See Also:
    • INTERNAL_TOPIC_SEPARATOR_ENABLED_CONFIG

      public static final String INTERNAL_TOPIC_SEPARATOR_ENABLED_CONFIG
      See Also:
    • INTERNAL_TOPIC_SEPARATOR_ENABLED_DEFAULT

      public static final Boolean INTERNAL_TOPIC_SEPARATOR_ENABLED_DEFAULT
  • Constructor Details

    • DefaultReplicationPolicy

      public DefaultReplicationPolicy()
  • Method Details