Enum StoreIngestionTask.DelegateConsumerRecordResult

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DUPLICATE_MESSAGE
      The consumer record is a duplicated message.
      PRODUCED_TO_KAFKA
      The consumer record has been produced to local version topic by leader.
      QUEUED_TO_DRAINER
      The consumer record has been put into drainer queue; the following cases will result in putting to drainer directly: 1.
      SKIPPED_MESSAGE
      The consumer record is skipped.
    • Method Detail

      • values

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

        public static StoreIngestionTask.DelegateConsumerRecordResult valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null