Class InactiveTopicsDetectionService
java.lang.Object
pl.allegro.tech.hermes.management.domain.detection.InactiveTopicsDetectionService
-
Constructor Summary
ConstructorsConstructorDescriptionInactiveTopicsDetectionService(LastPublishedMessageMetricsRepository metricsRepository, InactiveTopicsDetectionProperties properties, Clock clock) -
Method Summary
Modifier and TypeMethodDescriptiondetectInactiveTopic(pl.allegro.tech.hermes.api.TopicName topicName, Optional<InactiveTopic> historicalInactiveTopic) booleanshouldBeNotified(InactiveTopic inactiveTopic)
-
Constructor Details
-
InactiveTopicsDetectionService
public InactiveTopicsDetectionService(LastPublishedMessageMetricsRepository metricsRepository, InactiveTopicsDetectionProperties properties, Clock clock)
-
-
Method Details
-
detectInactiveTopic
public Optional<InactiveTopic> detectInactiveTopic(pl.allegro.tech.hermes.api.TopicName topicName, Optional<InactiveTopic> historicalInactiveTopic) -
shouldBeNotified
-