Enum Class ReplicationFactorChangeStatus

java.lang.Object
java.lang.Enum<ReplicationFactorChangeStatus>
org.apache.kafka.clients.admin.ReplicationFactorChangeStatus
All Implemented Interfaces:
Serializable, Comparable<ReplicationFactorChangeStatus>, Constable

public enum ReplicationFactorChangeStatus extends Enum<ReplicationFactorChangeStatus>
The status of a replication factor change for a single topic, as returned by describeReplicationFactorChange(). A replication factor change can be in one of the following statuses: 1. PENDING - the change was accepted but processing has not started yet. This can last for the balancer's metrics-collection window (tens of minutes); it does not affect the timeout on the admin request itself. 2. IN_PROGRESS - the reassignment has been submitted to Kafka and replicas are moving. 3. COMPLETED - the change completed successfully for the topic. 4. FAILED - the change was aborted (cancellation, deleted topic, broker down, invalid request, placement constraints, etc.). 5. UNKNOWN - clients fall back to this when they receive an unrecognized status value.
  • Enum Constant Details

  • Method Details

    • values

      public static ReplicationFactorChangeStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ReplicationFactorChangeStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • toEnum

      public static ReplicationFactorChangeStatus toEnum(String name)