Go Time: Golang, Software Engineering cover image

Event-driven systems

Go Time: Golang, Software Engineering

CHAPTER

How to Write Protobuf Schemas?

I am 100% in the camp of you should use protobuf. You should not use anything else. Protobuf is not just for GRPC, but really you can use it as a message envelope as well. I would just say avoid JSON. That's like if you do not want to have conflicts, that is how you avoid them. And all the same patterns that apply to writing good types and so on and how to deprecate them and so on for like when you're writing a GRPC service,. Same exact thing applies to these schemas as well.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner