@InterfaceStability.Evolving public interface ReplicationPolicy
Modifier and Type | Method and Description |
---|---|
String |
formatRemoteTopic(String sourceClusterAlias,
String topic)
How to rename remote topics; generally should be like us-west.topic1.
|
default boolean |
isInternalTopic(String topic)
Internal topics are never replicated.
|
default String |
originalTopic(String topic)
The name of the original source-topic, which may have been replicated multiple hops.
|
String |
topicSource(String topic)
Source cluster alias of given remote topic, e.g.
|
String |
upstreamTopic(String topic)
Name of topic on the source cluster, e.g.
|
String formatRemoteTopic(String sourceClusterAlias, String topic)
String topicSource(String topic)
String upstreamTopic(String topic)
default String originalTopic(String topic)
default boolean isInternalTopic(String topic)