This aims to build a zio-grpc
project sendbox and reproduce possible bugs
Ubuntu 18.04.5
OpenJDK Runtime Environment (build 11.0.10-testing+0-builds.shipilev.net-openjdk-jdk11-dev-b350-20201014)
Scala 2.13.3
Protoc 3.13.0
grpcurl v1.7.0
service MoodService {
rpc checkMood(google.protobuf.Empty) returns (stream MoodResp);
}
message MoodResp {
enum Mood {
HAPPY = 0;
SAD = 1;
}
Mood mood = 1;
string desc = 2;
}
> sbt reStart
> grpcurl -plaintext localhost:9090 MoodService/checkMood
bku@lap:~/work/ana/icare-back/it$ grpcurl -plaintext localhost:9090 MoodService/checkMood
bku@lap:~$ grpcurl -plaintext localhost:9090 MoodService/checkMood
{
"desc": "good"
}
{
"mood": "SAD",
"desc": "bad"
}
In this test, I see some output, but for my prod env, I see zero output for enum
fields