pl.allegro.tech.hermes.consumers.ConsumerEndpoint 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;
import jakarta.ws.rs.GET;
import jakarta.ws.rs.Path;
import jakarta.ws.rs.Produces;
import pl.allegro.tech.hermes.consumers.supervisor.process.RunningSubscriptionStatus;
import java.util.List;
import static jakarta.ws.rs.core.MediaType.APPLICATION_JSON;
@Path("status")
public interface ConsumerEndpoint {
@GET
@Produces(APPLICATION_JSON)
@Path("/subscriptions")
List listSubscriptions();
@GET
@Path("/subscriptionsCount")
Integer countSubscriptions();
@GET
@Path("/health")
String health();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy