kdocs
GitHub
T&O - Communication
T&O - Communication
  • Async Communication
    • Kafka
    • RabbitMQ
  • Protocols
    • HTTP
  • Sync Communication
    • REST
    • GraphQL
    • gRPC
      • Protocol Buffers
Powered by GitBook
On this page
  1. Sync Communication
  2. gRPC

Protocol Buffers

PreviousgRPC

Last updated 6 months ago

Are a language-neutral, plataform-neutral, extensible mechanism for serializing structured data.

(Like XML, but smaller, faster and simpler)

The data is serialized to binary.

syntax = "proto3";

message SearchRequest {
  string query = 1;
  int32 page_number = 2;
  int32 results_per_page = 3;
}
The number right after the fieldname is an INDEX used by gRPC for the serialization.

Style Guide
Style Guide
Protocol Buffers
Logo
Logo