This is an example of unidirectional streaming using gRPC where the client streams data. This Stream server also uses metadata based authentication
To deploy the application in kubernetes use
kubectl apply -f https://raw.githubusercontent.com/ArunRamakani/StreamServer/master/StreamServer.yaml
Please note that you need ambassador setup in your k8s befor running this. If you choose to expose differently StreamServer.yaml needs modification.
checkout the repository and run the below command to build the docker image in your local
docker build -t arunramakani/stream-server
Alternatively we can pull the docker image from the Docker Hub directly using the below command
docker pull arunramakani/stream-server
Once you have the image you can run the image using the command
docker run arunramakani/stream-server
This make the server start looking for any new gRPC connections. See datastream.proto file in this repository for gRPC contarct details.
Content type
Image
Digest
Size
338.1 MB
Last updated
about 7 years ago
docker pull arunramakani/stream-server