All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.strimzi.api.kafka.model.balancing.KafkaRebalanceAnnotation Maven / Gradle / Ivy

There is a newer version: 0.44.0
Show newest version
/*
 * Copyright Strimzi authors.
 * License: Apache License 2.0 (see the file LICENSE or http://apache.org/licenses/LICENSE-2.0.html).
 */
package io.strimzi.api.kafka.model.balancing;

public enum KafkaRebalanceAnnotation {
    /**
     * No annotation set on the rebalance resource.
     */
    none,
    /**
     * Used to approve a rebalance proposal and trigger the actual rebalancing.
     * This value should only be used when in the {@code ProposalReady} state.
     */
    approve,
    /**
     * Used to stop a request for an actual ongoing rebalancing.
     * This value should only be used when in the {@code Rebalancing} state.
     */
    stop,
    /**
     * 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 {@code ProposalReady} or {@code Stopped} states.
     */
    refresh,
    /**
     * Any other unsupported/unknown annotation value.
     */
    unknown
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy