Sample project to investigate gRPC backward and forward compatbility
-
Start
server v1
make run-server-v1
-
Start
server v2
make run-server-v2
-
Start
client v1
connecting toserver v1
make run-client-v1-server-v1
-
Start
client v1
connecting toserver v2
make run-client-v1-server-v2
-
Start
client v2
connecting toserver v1
make run-client-v2-server-v1
-
Start
client v2
connecting toserver v2
make run-client-v2-server-v2
In all cases, everything should work without issues. Of course what was added in v2 will be empty if contacted by a v1 client.