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

com.pushtechnology.diffusion.client.features.control.topics.TopicAddFailReason Maven / Gradle / Ivy

There is a newer version: 6.11.2
Show newest version
/*******************************************************************************
 * Copyright (c) 2023 DiffusionData Ltd., All Rights Reserved.
 *
 * Use is subject to license terms.
 *
 * NOTICE: All information contained herein is, and remains the
 * property of Push Technology. The intellectual and technical
 * concepts contained herein are proprietary to Push Technology and
 * may be covered by U.S. and Foreign Patents, patents in process, and
 * are protected by trade secret or copyright law.
 *******************************************************************************/
package com.pushtechnology.diffusion.client.features.control.topics;

/**
 * The reason for failure to add a topic.
 *
 * @author DiffusionData Limited
 * @since 5.0
 */
public enum TopicAddFailReason {

    /**
     * A topic already exists with exactly the same specification.
     */
    EXISTS,

    /**
     * A topic already exists with the same path but a different specification.
     */
    EXISTS_MISMATCH,

    /**
     * The supplied topic path is invalid.
     */
    INVALID_NAME,

    /**
     * Some aspect of the topic specification failed validation.
     */
    INVALID_DETAILS,

    /**
     * The client was denied permission to add a topic of the specified type at
     * the given point in the topic hierarchy.
     */
    PERMISSIONS_FAILURE,

    /**
     * An unexpected error occurred whilst attempting to create the topic. See
     * the server log for more details.
     */
    UNEXPECTED_ERROR,

    /**
     * Adding the topic failed because the cluster was repartitioning due to a
     * server starting, stopping, or failing. The operation can be retried.
     *
     * @since 6.0
     */
    CLUSTER_REPARTITION,

    /**
     * Adding the topic failed because of a license limit.
     *
     * @since 6.0
     */
    EXCEEDED_LICENSE_LIMIT,

    /**
     * Adding the topic failed because an incompatible topic is already
     * bound to the parent path.
     *
     * @since 6.0
     * @deprecated since 6.5
     *             

* This value is no longer used and will be removed in a future * release. */ @Deprecated INCOMPATIBLE_PARENT, /** * Adding the topic failed because a topic is already bound to the specified * path but the caller does not have the rights to manage it. *

* This can be because the topic is being managed by a component with * exclusive control over the topic, such as fan-out and thus the caller * will not be able to update or remove the topic. *

* If the caller has suitable permissions then it could still subscribe to * the topic, but the topic's specification may be different from that * requested. * * @since 6.0 */ EXISTS_INCOMPATIBLE; }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy