#Does anybody have experience with setting up gRPC communication between 2 GoLang microservices?

20 messages ยท Page 1 of 1 (latest)

wary gulch
#

the hardest part imho is generating the proto files and putting them in the right location ๐Ÿ˜‰

mental garnet
#

jumping in as I've got a protobuf thing that I bang my head on from time to time.. ๐Ÿ™‚

wary gulch
#

Good catch! I'll update the imports.. I threw this up there just for you ๐Ÿ˜‰

mental garnet
#

oh, it should be in the generated file? hmm

#

thanks though, leading me down another avenue of issues ๐Ÿ˜„

vestal bear
#

Hey @wary gulch !

Thanks for the info man!

Quick question tho, in the attached screenshot of the server code from the repo that you gave... the "pb ....." imported thing references a git repo.,.. why so? Why can't it just reference the proto files from the local dir?

Do I have to push my code to github before making the imports work then?

#

Would any of you guys be willing to chat over dm?

mental garnet
#

Why can't it just reference the proto files from the local dir?
it can - that pb reference is a completely different URL that this one though ๐Ÿ™‚

wary gulch
#

Just replace it with your own module zoopthedoop

#

Look at my layout/structure

vestal bear
#

My editor is throwing errors when I use the pb

vestal bear
#

Wait... so I do need to push it to github before using the 'pb' command to import? @wary gulch @mental garnet

vestal bear
#

Bro im acc so confused lmfao... can we run through this sometime please?

#

I want to show you what errors im getting, if thats cool

#

I don't think I have the packages and all set-up correctly either

mental garnet
wary gulch
#

Sure, send a github link