Abhishek koserwal
Abhishek koserwal
@apodhrad You can use the sso service account with ocm client for the requests to the control plane api. But it requires some claim configuration for your service account (sso...
Thanks, @kvii, for clarifying. It works if the export TEST_ADDR=0.0.0.0:8000 and use fmt.Println(bc.Server.Http.Addr) **For boolean, I am getting** Error panic: proto: (line 1:133): invalid value for bool type: "true" ```...
Issue is still relevant, I have PR opened to fix this issue
Is it basically removing the warning from here: https://github.com/authzed/spicedb-operator/blob/main/pkg/config/config.go#L350
@jdm: Do we want to add this feature?
That's true. Is it possible to handle the stream case like: grpc-gatewat https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/httpbody_messages/ ?
Example project to showcase adding an HTTP handler for the gRPC stream endpoint: https://github.com/akoserwal/stream-ex-kratos/blob/main/internal/server/http.go#L40 @shenqidebaozi
@go-kratos/contributor @shenqidebaozi
> It seems that you can use it directly`"github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/logging"` > > * https://pkg.go.dev/github.com/grpc-ecosystem/go-grpc-middleware/v2/interceptors/logging > * https://github.com/grpc-ecosystem/go-grpc-middleware/tree/main/interceptors/logging/examples > * https://github.com/grpc-ecosystem/go-grpc-middleware/tree/main/interceptors/logging Using the above can cause conflict between using kratos middleware for...
@shenqidebaozi I updated the PR to have a middleware abstraction for the streaming middleware. grpc-gateway middleware also configure the unary and stream as separate interceptors configs https://github.com/grpc-ecosystem/go-grpc-middleware/blob/main/examples/server/main.go#L136