Kedro gRPC Server is a Kedro plugin that creates a gRPC server for triggering and monitoring pipeline runs using a general-purpose RPC framework gRPC
This is a Kedro plugin that creates a gRPC server for your kedro pipelines. Exposed RPC calls can be triggered using any of the programming languages that support gRPC.
Demo:
Kedro gRPC clients can be in many programming languages.
Some kedro client examples below that call RPCs on a gRPC server running in any kedro project:
More on grpc.io
Kedro gRPC Server requires Python 3.6+ and Git to be setup.
You can install Kedro gRPC Server directly from GitHub with:
pip install kedro-grpc-server
To start the server, simply run the following command inside your Kedro project:
kedro server grpc-start
You can specify the host through the flag like so:
kedro server grpc-start --host
Similarly, you can set the port number using --port
.
Exposing 3 RPC calls:
ListPipelines
-> Returns current list of pipelines
Run
-> Runs a pipeline with or without arguments
Status
-> Provides run status of a pipeline with run_id.
The response for this rpc call is a Server Streaming response of all logged events.
Please read CONTRIBUTING.md for:
We use SemVer for versioning. The best way to safely upgrade is to check our release notes for any notable breaking changes.