Enum KafkaTopicService.KafkaTopicState

    • Enum Constant Detail

      • FAILURE

        public static final KafkaTopicService.KafkaTopicState FAILURE
        FAILURE signals that the operation for the topic was not successful. No possible information about the true state of this topic on the Kafka cluster can be assumed.

        Reasons for FAILURE can include, but are not limited to:

        • Network degradation between HiveMQ and the Kafka cluster
        • Insufficient permissions to perform the operation
        • An unsuitable configuration in either the "HiveMQ Enterprise Extension for Kafka" or the Kafka cluster
        • The internal state of the Kafka cluster
        Since:
        4.4.0
      • MISSING

        public static final KafkaTopicService.KafkaTopicState MISSING
        This topic is missing from the associated Kafka cluster and may need to be created before a record can be published to it.
        Since:
        4.4.0
    • Method Detail

      • values

        public static KafkaTopicService.KafkaTopicState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KafkaTopicService.KafkaTopicState c : KafkaTopicService.KafkaTopicState.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KafkaTopicService.KafkaTopicState valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null