Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 670 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 670 Bytes

Bufile

Bufile is a CLI to generate Linkerd service profiles using Buf Schema Registry.

Usage

Here's an example protobuf file that includes the right annotations:

 syntax = "proto3"; 
  
 package testbufile.v1; 
  
 import "bufile/v1/bufile.proto"; 
  
 service GreetingService { 
   rpc Say(SayRequest) returns (SayResponse) { 
     option idempotency_level = IDEMPOTENT; 
     option (bufile.v1.linkerd_timeout) = "30s"; 
   } 
 } 
  
 message SayRequest { 
   string name = 1; 
 } 
  
 message SayResponse { 
   string greeting = 1; 
 }
bufile --config <path-to-bufile.json>