Skip to main content

Module grpc

Module grpc 

Source
Expand description

gRPC transport layer for AstraeaDB.

This module provides a thin adapter that converts gRPC requests into the existing Request enum, delegates to RequestHandler::handle, and converts the Response back into gRPC response types.

It does not duplicate any business logic – all processing goes through the same handler that the TCP server uses.

Modules§

proto

Structs§

AstraeaGrpcService
The gRPC service implementation. Holds a shared reference to the same RequestHandler that the TCP server uses.

Functions§

run_grpc_server
Start the gRPC server on the given address.