if an error occurred in the rpc server during the execution of rpc-udf. Add java,cpp,python demo of rpc-udf server
1.1 KiB
1.1 KiB
Remote UDF Function Service In Python Demo
Compile
pip install grpcio-toolspython -m grpc_tools.protoc -Iproto --python_out=. --grpc_python_out=. proto/function_service.proto && python -m grpc_tools.protoc -Iproto --python_out=. proto/types.proto
Run
python function_server_demo.py 9000
9000 is the port that the server will listen on