Package com.linkedin.venice.controller
Class VeniceController
java.lang.Object
com.linkedin.venice.controller.VeniceController
Venice Controller to manage the cluster. Internally wraps Helix Controller.
-
Constructor Summary
ConstructorDescriptionVeniceController
(List<VeniceProperties> propertiesList, io.tehuti.metrics.MetricsRepository metricsRepository, List<ServiceDiscoveryAnnouncer> serviceDiscoveryAnnouncers, Optional<DynamicAccessController> accessController, Optional<AuthorizerService> authorizerService, com.linkedin.d2.balancer.D2Client d2Client, Optional<ClientConfig> routerClientConfig, Optional<ICProvider> icProvider, Optional<SupersetSchemaGenerator> externalSupersetSchemaGenerator) Deprecated. -
Method Summary
-
Constructor Details
-
VeniceController
@Deprecated public VeniceController(List<VeniceProperties> propertiesList, io.tehuti.metrics.MetricsRepository metricsRepository, List<ServiceDiscoveryAnnouncer> serviceDiscoveryAnnouncers, Optional<DynamicAccessController> accessController, Optional<AuthorizerService> authorizerService, com.linkedin.d2.balancer.D2Client d2Client, Optional<ClientConfig> routerClientConfig, Optional<ICProvider> icProvider, Optional<SupersetSchemaGenerator> externalSupersetSchemaGenerator) Deprecated.Allocates a newVeniceController
object.- Parameters:
propertiesList
- config properties coming fromConfigKeys
.metricsRepository
- a metric repository to emit metrics.serviceDiscoveryAnnouncers
- a list ofServiceDiscoveryAnnouncer
for service discovery announcement. Can be empty.accessController
- an optionalDynamicAccessController
for auth/auth. Deprecated, use authorizerService instead.authorizerService
- an optionalAuthorizerService
for auth/auth.d2Client
- aD2Client
used for interacting with child controllers.routerClientConfig
- an optionalClientConfig
used for reading schema from routers.icProvider
- an optional invocation-context provider class for calls between various deployable services.externalSupersetSchemaGenerator
- an optionalSupersetSchemaGenerator
used for generating superset schema.
-
VeniceController
-
-
Method Details
-
start
public void start()Causes venice controller and its associated services to begin execution. -
stop
public void stop()Causes venice controller and its associated services to stop executing. -
getVeniceControllerService
- Returns:
- the Venice controller service.
-
main
-
run
-