Class KafkaTopic


  • @Deprecated
    public class KafkaTopic
    extends java.lang.Object
    Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      KafkaTopic()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      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.
      static boolean hasCollisionChars​(java.lang.String topic)
      Deprecated.
      Due to limitations in metric names, topics with a period ('.') or underscore ('_') could collide.
      static boolean isInternal​(java.lang.String topic)
      Deprecated.
       
      static java.lang.String validate​(java.lang.String topic)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • KafkaTopic

        public KafkaTopic()
        Deprecated.
    • 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 collision
        topicB - A topic to check for collision
        Returns:
        true if the topics collide