#Protobuf definitions location

4 messages · Page 1 of 1 (latest)

ocean ocean
#

Hey! If I want to make a project that is made of several microservices that communicate with grpc (learning project), is it a good idea to put each microservice in its own module, and have another module for the protobuf definitions? Or do you recommend putting the relevant definitions in each microservice? I assume they'll have shared definitions

gray galleon
#

I would have them be part of either another repo or a sub package that is only proto in your project for all the defs

#

if you keep them seperate all the stuff keeping track of each other becomes giga pain and you suffer

#

if it's in one place you force yourself to always keep it up to date