Class TopicCleanupServiceForParentController
- java.lang.Object
-
- com.linkedin.venice.service.AbstractVeniceService
-
- com.linkedin.venice.controller.kafka.TopicCleanupService
-
- com.linkedin.venice.controller.kafka.TopicCleanupServiceForParentController
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
public class TopicCleanupServiceForParentController extends TopicCleanupService
In parent controller,TopicCleanupServiceForParentController
will remove all the deprecated topics: topic with low retention policy.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.linkedin.venice.service.AbstractVeniceService
AbstractVeniceService.ServiceState
-
-
Field Summary
-
Fields inherited from class com.linkedin.venice.controller.kafka.TopicCleanupService
delayFactor, multiClusterConfigs, sleepIntervalBetweenTopicListFetchMs, topicPriorityComparator
-
Fields inherited from class com.linkedin.venice.service.AbstractVeniceService
logger, serviceState
-
-
Constructor Summary
Constructors Constructor Description TopicCleanupServiceForParentController(Admin admin, VeniceControllerMultiClusterConfig multiClusterConfigs, PubSubTopicRepository pubSubTopicRepository, TopicCleanupServiceStats topicCleanupServiceStats, PubSubClientsFactory pubSubClientsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
cleanupVeniceTopics()
-
Methods inherited from class com.linkedin.venice.controller.kafka.TopicCleanupService
extractVersionTopicsToCleanup, getAllVeniceStoreTopicsRetentions, startInner, stopInner
-
-
-
-
Constructor Detail
-
TopicCleanupServiceForParentController
public TopicCleanupServiceForParentController(Admin admin, VeniceControllerMultiClusterConfig multiClusterConfigs, PubSubTopicRepository pubSubTopicRepository, TopicCleanupServiceStats topicCleanupServiceStats, PubSubClientsFactory pubSubClientsFactory)
-
-