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

pl.allegro.tech.hermes.consumers.supervisor.ConsumersSupervisor Maven / Gradle / Ivy

There is a newer version: 2.10.0
Show newest version
package pl.allegro.tech.hermes.consumers.supervisor;

import pl.allegro.tech.hermes.api.Subscription;
import pl.allegro.tech.hermes.api.SubscriptionName;
import pl.allegro.tech.hermes.api.Topic;

import java.util.Set;

public interface ConsumersSupervisor {

    void assignConsumerForSubscription(Subscription subscription);

    void deleteConsumerForSubscriptionName(SubscriptionName subscription);

    void updateSubscription(Subscription subscription);

    void updateTopic(Subscription subscription, Topic topic);

    void shutdown() throws InterruptedException;

    void retransmit(SubscriptionName subscription) throws Exception;

    Set runningConsumers();

    void start() throws Exception;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy