Enum KafkaErrorCode

    • Enum Constant Detail

      • KAFKA_SPLIT_ERROR

        public static final KafkaErrorCode KAFKA_SPLIT_ERROR
      • KAFKA_SCHEMA_ERROR

        public static final KafkaErrorCode KAFKA_SCHEMA_ERROR
      • KAFKA_PRODUCER_ERROR

        public static final KafkaErrorCode KAFKA_PRODUCER_ERROR
      • SCHEMA_REGISTRY_AMBIGUOUS_SUBJECT

        public static final KafkaErrorCode SCHEMA_REGISTRY_AMBIGUOUS_SUBJECT
    • Method Detail

      • values

        public static KafkaErrorCode[] 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 (KafkaErrorCode c : KafkaErrorCode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static KafkaErrorCode 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