pl.allegro.tech.hermes.consumers.supervisor.ConsumersSupervisor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hermes-consumers Show documentation
Show all versions of hermes-consumers Show documentation
Fast and reliable message broker built on top of Kafka.
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