Package com.mapr.kafka.eventstreams.kwps
Class KafkaTopic
- java.lang.Object
-
- com.mapr.kafka.eventstreams.kwps.KafkaTopic
-
@Deprecated public class KafkaTopic extends java.lang.ObjectDeprecated.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringGROUP_METADATA_TOPIC_NAMEDeprecated.static java.lang.StringLEGAL_CHARSDeprecated.static java.lang.StringTRANSACTION_STATE_TOPIC_NAMEDeprecated.
-
Constructor Summary
Constructors Constructor Description KafkaTopic()Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static booleanhasCollision(java.lang.String topicA, java.lang.String topicB)Deprecated.Returns true if the topicNames collide due to a period ('.') or underscore ('_') in the same position.static booleanhasCollisionChars(java.lang.String topic)Deprecated.Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide.static booleanisInternal(java.lang.String topic)Deprecated.static java.lang.Stringvalidate(java.lang.String topic)Deprecated.
-
-
-
Field Detail
-
GROUP_METADATA_TOPIC_NAME
public static final java.lang.String GROUP_METADATA_TOPIC_NAME
Deprecated.- See Also:
- Constant Field Values
-
TRANSACTION_STATE_TOPIC_NAME
public static final java.lang.String TRANSACTION_STATE_TOPIC_NAME
Deprecated.- See Also:
- Constant Field Values
-
LEGAL_CHARS
public static final java.lang.String LEGAL_CHARS
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
validate
public static java.lang.String validate(java.lang.String topic)
Deprecated.
-
isInternal
public static boolean isInternal(java.lang.String topic)
Deprecated.
-
hasCollisionChars
public static boolean hasCollisionChars(java.lang.String topic)
Deprecated.Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide.- Parameters:
topic- The topic to check for colliding character- Returns:
- true if the topic has collision characters
-
hasCollision
public static boolean hasCollision(java.lang.String topicA, java.lang.String topicB)Deprecated.Returns true if the topicNames collide due to a period ('.') or underscore ('_') in the same position.- Parameters:
topicA- A topic to check for collisiontopicB- A topic to check for collision- Returns:
- true if the topics collide
-
-