Skip to content

A CLI to generate Linkerd service profiles from Buf registry

License

Notifications You must be signed in to change notification settings

vic3lord/bufile

Repository files navigation

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>

About

A CLI to generate Linkerd service profiles from Buf registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages