@InterfaceStability.Evolving public class NewMirrorTopic extends Object
Constructor and Description |
---|
NewMirrorTopic(String linkName,
String sourceTopic)
Prepares a new topic that'll mirror its data from a source topic.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
linkName()
The name of the cluster link over which the topic will mirror from.
|
String |
mirrorTopic()
Deprecated.
This method is being deprecated because mirrorTopic is not an accurate name to
describe a method that returns the source topic's name.
Use |
String |
sourceTopic()
The name of the topic to be mirrored over the cluster link, i.e.
|
String |
toString() |
public NewMirrorTopic(String linkName, String sourceTopic)
linkName
- the name of the cluster link over which the topic will mirror fromsourceTopic
- the name of the topic to be mirrored over the cluster linkpublic String linkName()
@Deprecated public String mirrorTopic()
Use sourceTopic()
} instead.
public String sourceTopic()