Class AdminConsumptionTask
java.lang.Object
com.linkedin.venice.controller.kafka.consumer.AdminConsumptionTask
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Runnable
This class is used to create a task, which will consume the admin messages from the special admin topics.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionAdminConsumptionTask
(String clusterName, PubSubConsumerAdapter consumer, boolean remoteConsumptionEnabled, Optional<String> remoteKafkaServerUrl, VeniceHelixAdmin admin, AdminTopicMetadataAccessor adminTopicMetadataAccessor, ExecutionIdAccessor executionIdAccessor, boolean isParentController, AdminConsumptionStats stats, int adminTopicReplicationFactor, Optional<Integer> minInSyncReplicas, long processingCycleTimeoutInMs, int maxWorkerThreadPoolSize, PubSubTopicRepository pubSubTopicRepository, String regionName) -
Method Summary
-
Field Details
-
IGNORED_CURRENT_VERSION
public static final int IGNORED_CURRENT_VERSION- See Also:
-
-
Constructor Details
-
AdminConsumptionTask
public AdminConsumptionTask(String clusterName, PubSubConsumerAdapter consumer, boolean remoteConsumptionEnabled, Optional<String> remoteKafkaServerUrl, VeniceHelixAdmin admin, AdminTopicMetadataAccessor adminTopicMetadataAccessor, ExecutionIdAccessor executionIdAccessor, boolean isParentController, AdminConsumptionStats stats, int adminTopicReplicationFactor, Optional<Integer> minInSyncReplicas, long processingCycleTimeoutInMs, int maxWorkerThreadPoolSize, PubSubTopicRepository pubSubTopicRepository, String regionName)
-
-
Method Details
-
getExecutorService
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
run
public void run()
-