-
Notifications
You must be signed in to change notification settings - Fork 3.7k
feat(blockbuilder): grpc transport #15218
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
|
||
var _ Transport = &GRPCTransport{} | ||
|
||
type GRPCTransportConfig struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: should we embed this in builder config? ignore me if it is planned for a follow-up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I planned to leave this for when we're ready to wire it together.
type GRPCTransportConfig struct { | ||
Address string `yaml:"address,omitempty"` | ||
|
||
// GRPCClientConfig configures the gRPC connection between the Bloom Gateway client and the server. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// GRPCClientConfig configures the gRPC connection between the Bloom Gateway client and the server. | |
// GRPCClientConfig configures the gRPC connection between the block builder client and the scheduler. |
gRPC transport implementation as defined in https://github.com/grafana/loki/blob/c1ca06793d561a708fa9ff38f7e2fc012c90b064/pkg/blockbuilder/architecture.md