Skip to content
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

feat: add multiplexing config #97

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions api/meta_protocol_proxy/v1alpha/meta_protocol_proxy.proto
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ message MetaProtocolProxy {
string stat_prefix = 1 [(validate.rules).string = {min_len: 1}];

// The name of the application protocol built on top of meta protocol.
// This has been deprecated in favor of name in ApplicationProtocol.
string application_protocol = 2 [(validate.rules).string = {min_len: 1}];

oneof route_specifier {
Expand All @@ -46,6 +47,7 @@ message MetaProtocolProxy {
}

// The codec which encodes and decodes the application protocol.
// This has been deprecated in favor of codec in ApplicationProtocol.
Codec codec = 5;


Expand All @@ -64,6 +66,9 @@ message MetaProtocolProxy {

// for idle downstream timer.
google.protobuf.Duration idle_timeout = 11;

// Configuration for protocol
ApplicationProtocol protocol = 12;
zhaohuabing marked this conversation as resolved.
Show resolved Hide resolved
}

message Rds {
Expand Down Expand Up @@ -151,3 +156,12 @@ message Tracing {
envoy.config.trace.v3.Tracing.Http provider = 9;
}

message ApplicationProtocol {
// The name of the application protocol built on top of meta protocol.
string name = 1 [(validate.rules).string = {min_len: 1}];
// The codec which encodes and decodes the application protocol.
zhaohuabing marked this conversation as resolved.
Show resolved Hide resolved
Codec codec = 2;
// is multiplexing
bool multiplexing = 3;
}