-
-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature] Publish centrifugo gRPC schema to Buf Schema Registry #851
Comments
Done in v5.4.3 - https://github.com/centrifugal/centrifugo/releases/tag/v5.4.3 Example for Go can be found in description of #863 @kop please check it out |
Thank you, @FZambia. I've successfully switched to SDK generated from BSR and everything seems to be running smooth. One issue I noticed is that I was unable to use the latest version of However, this might be a problem with my setup. I have quite a Frankenstein project with dependencies on modules that use old gRPC-related libraries. Maybe this is the reason Go dependency resolution is not happy in my case. |
Maybe you can try on new project with empty dependencies? |
Yep. I can confirm, works fine on a project with empty dependencies. |
Cool! Closing then. |
Nowadays, to start using Centrifugo gRPC API, we have to compile protobufs first.
This is a working solution, but this can be improved.
The Buf Schema Registry provides hosting for Protobuf/gRPC definitions, similar to how package managers work. The giant bonus of BSR is its support for automatic SDKs generation.
By publishing gRPC schemas to BSR, Centrifugo could provide a number of "include-and-use" gRPC SDKs for Go, JS, Rust, Python and other languages.
The text was updated successfully, but these errors were encountered: