Class VeniceControllerRequestHandler
java.lang.Object
com.linkedin.venice.controller.server.VeniceControllerRequestHandler
The core handler for processing incoming requests in the VeniceController.
Acts as the central entry point for handling requests received via both HTTP/REST and gRPC protocols.
This class is responsible for managing all request handling operations for the VeniceController.
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptioncreateStore
(CreateStoreGrpcRequest request) Creates a new store in the specified Venice cluster with the provided parameters.The response is passed as an argument to avoid creating duplicate response objects for HTTP requests and to simplify unit testing with gRPC.
-
Field Details
-
DEFAULT_STORE_OWNER
- See Also:
-
-
Constructor Details
-
VeniceControllerRequestHandler
-
-
Method Details
-
getLeaderControllerDetails
The response is passed as an argument to avoid creating duplicate response objects for HTTP requests and to simplify unit testing with gRPC. Once the transition to gRPC is complete, we can eliminate the need to pass the response as an argument and instead construct and return it directly within the method. -
discoverCluster
-
createStore
Creates a new store in the specified Venice cluster with the provided parameters.- Parameters:
request
- the request object containing all necessary details for the creation of the store
-