Enum KafkaRebalanceAnnotation

    • Enum Constant Detail

      • approve

        public static final KafkaRebalanceAnnotation approve
        Used to approve a rebalance proposal and trigger the actual rebalancing. This value should only be used when in the ProposalReady state.
      • stop

        public static final KafkaRebalanceAnnotation stop
        Used to stop a request for an actual ongoing rebalancing. This value should only be used when in the Rebalancing state.
      • refresh

        public static final KafkaRebalanceAnnotation refresh
        Used to refresh a ready rebalance proposal or to restart a stopped request for getting a rebalance proposal. This value should only be used when in the ProposalReady or Stopped states.
    • Method Detail

      • values

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

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