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

org.zalando.nakadi.util.FeatureToggleService Maven / Gradle / Ivy

Go to download

A distributed event bus that implements a RESTful API abstraction instead of Kafka-like queues

The newest version!
package org.zalando.nakadi.util;

import org.springframework.stereotype.Service;

@Service
public interface FeatureToggleService {

    boolean isFeatureEnabled(final Feature feature);

    enum Feature {

        CONNECTION_CLOSE_CRUTCH("close_crutch"),
        DISABLE_EVENT_TYPE_CREATION("disable_event_type_creation"),
        DISABLE_EVENT_TYPE_DELETION("disable_event_type_deletion"),
        HIGH_LEVEL_API("high_level_api"),
        CHECK_APPLICATION_LEVEL_PERMISSIONS("check_application_level_permissions"),
        CHECK_PARTITIONS_KEYS("check_partitions_keys");


        private final String id;

        Feature(final String id) {
            this.id = id;
        }

        public String getId() {
            return id;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy